XML and XPath Program: Xpath is called for finding the information within the document.
What is XPath?
- XPath is a syntax to define the parts of XML document.
- XPath uses the path expressions to navigate in XML documents.
- XPath contains a library of the standard functions.
- XPath is a major element in XSLT.
- XPath is also used in XQuery, XPointer and XLink.
- XPath is a W3C recommendation.
Softwares
XML copy Editor, XEditor.
Program
- <book>
- <title>XML</title>
- <author>Erik T. Ray</author>
- <year>2003</year>
- <price>300</price>
- </book>
Xpath
/book
output
XML
Erik T. Ray
2003
300
Xpath