XPath
Sign in to saveAlso known as XML Path Language
XPath (XML Path Language) is an expression language designed to support the query or transformation of XML documents. It was defined by the World Wide Web Consortium (W3C) in 1999, and can be used to compute values (e.g., strings, numbers, or Boolean values) from the content of an XML document. Support for XPath exists in applications that support XML, such as web browsers, and many programming languages.
Key facts
- Programming language.name
- XPath
- Programming language.paradigm
- Query language
- Programming language.year
- 1998
- Programming language.developer
- W3C
- Programming language.latest_release_version
- 3.1
- Programming language.influenced_by
- XSLT, XPointer
- Programming language.influenced
- XML Schema, XForms, JSONPath
via Wikipedia infobox
Wikidata facts
- Instance of
- programming language
- Part of
- XSL
- Developer
- World Wide Web Consortium
- Official website
- www.w3.org/TR/xpath
- Image
- Diagram Sederhana XPath.png
Show 7 more facts
- software version identifier
- 3.1
- Stack Exchange tag
- stackoverflow.com/tags/xpath
- inception
- 1999-00-00
- readable file format
- JSON
- programming paradigm
- query language
- Commons category
- XPath
- ACM Classification Code (2012)
- 10003312
via Wikidata · CC0
~16 min read
Encyclopedic overview
36 sectionsContents
- Versions
- Syntax and semantics (XPath 1.0)
- Abbreviated syntax
- Expanded syntax
- Axis specifiers
- Node tests
- Predicates
- Functions and operators
- Node set functions
- String functions
- Boolean functions
- Number functions
- Usage examples
- Syntax and semantics (XPath 2.0)
- Syntax and semantics (XPath 3)
- Examples
- Implementations
- Command-line tools
- C/C++
- Free Pascal
- Implementations for database engines
- Java
- JavaScript
- .NET Framework
- Perl
- PHP
- Python
- Ruby
- Scheme
- SQL
- Tcl
- Use in schema languages
- See also
- Notes
- References
- External links
XPath (XML Path Language) is an expression language designed to support the query or transformation of XML documents. It was defined by the World Wide Web Consortium (W3C) in 1999, and can be used to compute values (e.g., strings, numbers, or Boolean values) from the content of an XML document. Support for XPath exists in applications that support XML, such as web browsers, and many programming languages.
The XPath language is based on a tree representation of the XML document, and provides the ability to navigate around the tree, selecting nodes by a variety of criteria. In popular use (though not in the official specification), an XPath expression is often referred to simply as "an XPath".
Excerpted from Wikipedia’s “XPath” article, available under the CC BY-SA 4.0 licence.