XML information pipe
Ihre Spezialisten für XML
The reference is based on W3C recommendations XML Path Language (XPath) 2.0 and XQuery 1.0 and XPath 2.0 Functions and Operators.
Both texts and examples has been extracted from these recommendations.
Standard excerpt:
XPath 2.0 is an expression language that allows the processing of values conforming to the data model defined in XQuery/XPath Data
Model (XDM). 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 2.0 is a superset of XPath 1.0, with the added capability to support a
richer set of data types, and to take advantage of the type information that becomes available when documents are validated using XML
Schema.
The usage of the W3C standards is covered by W3C DOCUMENT LICENSE.
Zvon offers other XPath related materials.
abs | adjust-date-to-timezone | adjust-dateTime-to-timezone | attribute | avg | base-uri | boolean | ceiling | codepoint-equal | codepoints-to-string | collection | comment& | compare | concat | contains | count | current-date | current-dateTime | current-time | data | day-from-date | day-from-dateTime | days-from-duration | deep-equal | default-collation | distinct-values | doc | doc-available | document-node | document-uri | element | empty | empty-sequence | encode-for-uri | ends-with | error | escape-html-uri | exactly-one | exists | false | floor | hours-from-dateTime | hours-from-duration | hours-from-time | id | idref | implicit-timezone | in-scope-prefixes | index-of | insert-before | iri-to-uri | item | lang | last | local-name | local-name-from-QName | lower-case | matches | max | min | minutes-from-dateTime | minutes-from-duration | minutes-from-time | month-from-date | month-from-dateTime | months-from-duration | name | namespace-uri | namespace-uri-for-prefix | namespace-uri-from-QName | nilled | node | node-name | normalize-space | normalize-unicode | not | number | one-or-more | position | prefix-from-QName | processing-instruction | QName | remove | replace | resolve-QName | reverse | round | round-half-to-even | schema-attribute | schema-element | seconds-from-dateTime | seconds-from-duration | seconds-from-time | starts-with | static-base-uri | string | string-join | string-length | string-to-codepoints | subsequence | substring | substring-after | substring-before | sum | text | timezone-from-date | timezone-from-dateTime | timezone-from-time | tokenize | trace | translate | true | unordered | upper-case | year-from-date | year-from-dateTime | years-from-duration | zero-or-one |
!= | > | >> | >= | < | << | <= | (::) | * | + | ‚ | − | ⋅ | ⋅⋅ | ⁄⁄ | = | @ | [] | and | cast as | castable as | div | eq | every..in..satisfies | except | for..in..return | ge | gt | idiv | if..then..else | instance of | intersect | is | le | lt | mod | ne | or | some..in..satisfies | to | treat as | union | | |
ancestor | ancestor-or-self | attribute | child | descendant | descendant-or-self | following | following-sibling | namespace | parent | preceding | preceding-sibling | self |