// is an abbreviation for /descendant-or-self::node()/. Thus with the expression //elementName you will find any element named elementName in the whole document tree.
Summary: XPath (XML Path Language) is a query language for selecting nodes from an XML document.
Note: You are viewing an old version of this document. The latest version is available here.
XPath (for XML Path Language) is a query language for selecting a node or a nodeset from an XML document. XPath expressions are used in XSLT style sheets.
http://www.w3schools.com/xpath/
http://www.w3.org/TR/xpath20/, in particular http://www.w3.org/TR/xpath20/#id-path-expressions.
// is an abbreviation for /descendant-or-self::node()/. Thus with the expression //elementName you will find any element named elementName in the whole document tree.
"XPath is a small language to access XML documents."