XPath 3.0 is an expression language that allows the processing of values conforming to the data model defined in [XQuery and XPath Data Model (XDM) 3.0]. The data model provides a tree representation of XML documents as well as atomic values such as integers, strings, and booleans, and sequences that may contain both references to nodes in an XML document and atomic values. The result of an XPath expression may be a selection of nodes from the input documents, or an atomic value, or more generally, any sequence allowed by the data model. The name of the language derives from its most distinctive feature, the path expression, which provides a means of hierarchic addressing of the nodes in an XML tree. XPath 3.0 is a superset of [XML Path Language (XPath) Version 2.0]. A list of changes made since XPath 2.0 can be found in J Change Log. Here are some of the new features in XPath 3.0: 0. Dynamic function call (3.2.2 Dynamic Function Call ). 1. Inline function expressions (3.1.7 Inline Function Expressions). 2. Support for union types. 3. Support for literal URLs in names, using EQNames. 4. A string concatenation operator (3.6 String Concatenation Expressions). 5. A mapping operator (3.14 Simple map operator (!)). A backwards compatibility mode is provided to ensure that nearly all XPath 1.0 expressions continue to deliver the same result with XPath 3.0; exceptions to this policy are noted in [I Backwards Compatibility with XPath 1.0].
Owner
Standardisation body
Published on
Last update
Status
Under development
Only facilitators and authors can create content.
Non moderated