Skip to content
XPath
EntityQ16340· pop 34· linked from 277 articles

Also 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

Official website
www.w3.org/TR/xpath
Image
Diagram Sederhana XPath.png
Show 5 more facts
software version identifier
3.1
inception
1999-00-00
Commons category
XPath
ACM Classification Code (2012)
10003312
Sources (4)

via Wikidata · CC0

~16 min read

Article

36 sections
Contents
  • 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".

Connections

Categories