XPath Reference
XPath 3.1 Reference
goxpath is an XPath 3.1 implementation for Go, supporting the full expression language and a large subset of the W3C XPath and XQuery Functions and Operators 3.1 specification.
Contents
XPath 3.1 syntax: let, for, arrow, maps, arrays, inline functions
XSD types, cast/castable/instance-of, type hierarchy
String manipulation, matching, tokenizing
Arithmetic, rounding, formatting
Trigonometry, logarithms, exponents (math namespace)
Filtering, sorting, folding, higher-order functions
Node properties, QNames, document access
Dates, durations, formatting, timezone adjustment
JSON parsing and serialization
XPath 3.1 maps and arrays
DecimalFormat, RegisterFunction, type system
Known gaps and unsupported features