dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Validate XPATH

Threaded View

  1. #1
    Join Date
    Oct 2006
    Posts
    123

    Validate XPATH

    hi guys,
    i am start to learn XPath but i have problem , i am write my xml doc but i can not where i write my expression to find what i want from data ?

    example
    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <bookstore>
    <book>
      <title lang="eng">Harry Potter</title>
      <price>29.99</price>
    </book>
    <book>
      <title lang="eng">Learning XML</title>
      <price>39.95</price>
    </book>
    </bookstore>
    ====================================================
    Path Expression || Result
    ====================================================
    bookstore || Selects all the child nodes of the bookstore element
    ====================================================
    /bookstore || Selects the root element bookstore
    ====================================================
    Last edited by honeyboy_20; January 16th, 2009 at 09:49 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)