Add the string functions (concat, starts-with, contains, substring-before, substring-after, substring, string-length, normalize-space, translate), the number functions (sum, floor, ceiling, round), and the node functions (local-name, name, namespace-uri, id, lang), merged into the evaluation library. All pure Swift, no Foundation: substring search is hand-rolled. Without a DTD, id() matches an attribute named id or xml:id. Closes #41 |
||
|---|---|---|
| .. | ||
| Axis.swift | ||
| AxisNavigation.swift | ||
| Compiler.swift | ||
| CompilerPaths.swift | ||
| CoreFunctions.swift | ||
| EvaluationContext.swift | ||
| Evaluator.swift | ||
| EvaluatorOperators.swift | ||
| EvaluatorSteps.swift | ||
| Expression.swift | ||
| NodeFunctions.swift | ||
| NodeTest.swift | ||
| Query.swift | ||
| QueryError.swift | ||
| Selection.swift | ||
| Step.swift | ||
| StringFunctions.swift | ||
| Value.swift | ||
| XPathNode.swift | ||