XPath syntax


  Translation results:

XPath is a language for finding information in XML documents.

XPath syntaxsyntax

XPath uses path expressions to select nodes or sets of nodes in an XML document. Nodes are selected along paths or steps.

XPath syntaxexample

<?xml version="1.0" encoding="UTF-8"?>
<bookstore>
<book>
  <title>Harry Potter</title>
  <price>29.99</price>
</book>
<book>
  <title>Learning XML</title>
  <price>39.95</price>
</book>
</bookstore>

Popular Recommendations

Home

Videos

Q&A