Expand description
XPath 1.0 implementation (§25, §85 Phase 5).
Complete XPath 1.0 engine: location paths, axes, node tests, predicates, functions, variables, namespaces, node sets, boolean/number/string conversion, comparison semantics, NaN/infinity/negative zero, document order, context position/size, extension functions, compiled expressions.
§Modules
ast— expression AST types (axes, node tests, steps, operators)lexer— tokenizerparser— recursive descent parsertypes— XPath value types (node sets, numbers, strings, booleans)context— evaluation context (variables, namespaces, functions)axes— axis traversalfunctions— core function library (25 XPath 1.0 functions)eval— evaluation engine
Modules§
- ast
- XPath 1.0 Expression AST (§25).
- axes
- XPath 1.0 Axis Implementation (§25).
- context
- XPath 1.0 Evaluation Context (§25).
- eval
- XPath 1.0 Evaluation Engine (§25).
- exports
- XPath / XPointer C export bridge (§25, 11.1-I XPath family closure).
- functions
- XPath 1.0 Core Function Library (§25).
- lexer
- XPath 1.0 Expression Lexer/Tokenizer (§25).
- parser
- XPath 1.0 Expression Parser (§25).
- parser_
context - XPath parser context and value stack (§25, 11.1-I XPath family closure).
- types
- XPath 1.0 Runtime Types (§25).
Functions§
- compile
- Parse and compile an XPath expression string.
- evaluate
- Evaluate a compiled XPath expression.
- evaluate_
str - Parse and evaluate in one step.