60 likes | 189 Views
XPath Finding information in an XML document A very brief introduction based on examples. Source: W3Schools XPath Tutorial http://www.w3schools.com/xpath/xpath_intro.asp. Uses of XPath. XPath is used to find information in an XML document XPath is used in other XML technologies, like XSLT
E N D
XPath Finding information in an XML documentA very brief introduction based on examples Source: W3Schools XPath Tutorial http://www.w3schools.com/xpath/xpath_intro.asp XPath
Uses of XPath • XPath is used to find information in an XML document • XPath is used in other XML technologies, like • XSLT • XQuery • XPath is a W3C Recommendation, since 1999 XPath
Predicatesfinding specific nodes, or nodes with a specific value XPath
IDE support for searching XML documents using XPath • Microsoft Visual Studio • I didn’t find any support for searching an XML document using XPath. • Plugins exist, but at a price … • NetBeans • There is a free plugin • http://plugins.netbeans.org/plugin/18522/ • Window menu -> XPath XPath