|
-
January 16th, 2009, 09:46 AM
#1
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|