

XPath 2.0 is used as a sublanguage of XSLT 2.0, and it is also a subset of XQuery 1.0. The two language versions are therefore described in separate articles. The language is significantly larger than its predecessor, XPath 1.0, and some of the basic concepts such as the data model and type system have changed. XPath allows nodes to be selected by means of a hierarchic navigation path through the document tree. For this purpose the XML document is modelled as a tree of nodes. XPath is used primarily for selecting parts of an XML document. As a W3C Recommendation it was superseded by XPath 3.0 on 10 April 2014. It became a recommendation on 23 January 2007. XPath 2.0 is a version of the XPath language defined by the World Wide Web Consortium, W3C. JSTOR ( August 2010) ( Learn how and when to remove this template message).

Unsourced material may be challenged and removed. Please help improve this article by adding citations to reliable sources. This article needs additional citations for verification.
