XPath v1

Location paths Understand the syntax of XPath expressions.
Use the following elements in XPath expressions:
  • Axis specifiers: ancestor, ancestor-or-self, attribute, child, descendant, descendant-or-self, following, following-sibling, namespace, parent, preceding, preceding-sibling, self.
  • This includes the "/", "//" and predicate "[..]" operators
  • Abbreviated and expanded syntax.
Expressions Use the following operators in XPath expressions:
  • Union operator "|".
  • Boolean operators "and" and "or", and the function "not()"
  • Arithmetic operators "+", "-", "*", "div" and "mod"
  • Comparison operators "=", "!=", "<", ">", "<=", ">="
Core Functions Use, in XPath expressions, functions that:
  • Manipulate strings: concat(), substring(), contains(), substring-before(), substring-after(), translate(), normalize-space(), string-length()
  • Manipulate numbers: sum(), round(), floor(), ceiling()
  • Get properties of nodes: name(), local-name(), namespace-uri()
  • Get information about the processing context: position(), last()
  • Convert types: string(), number(), boolean()

你可能感兴趣的:(xpath)