XML Path Language (XPath)

Create expressions relating to portions of an XML document

XML Path Language (XPath), one of the most successful XML technologies, is a syntax and data model for addressing parts of an XML document. Learn more about this XML standard, which includes some features of a general-purpose expression language.

Contributors:  W3C

25 April 2007 (First published 06 February 2007)

XML Path Language (XPath), one of the most successful XML technologies, is a syntax and data model for addressing parts of an XML document. Learn more about this XML standard, which includes some features of a general-purpose expression language.

XML Path Language (XPath) Version 1.0 [W3C Recommendation] is a syntax and a data model for addressing parts of an XML document. It includes some features of a general-purpose expression language and is designed to be a little language that can be used for application-neutral processing within XML systems. For example, you could use XPath to locate all the section-title elements in a document.

XPath is probably the most successful XML technology, besides XML 1.0 itself. It is the core of Extensible Stylesheet Language Transformations (XSLT), the successful XML transformation language, and it is provided for in almost every platform for XML processing. XPath 2.0 [in development] is being developed in tandem with XQuery and adds many new features and an expanded library of functions.

Resources

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=193478
SummaryTitle=XML Path Language (XPath)
publish-date=04252007