Up: Plexippus XPath API reference
Package xpattern
The XPATTERN package implements pattern matching compatible with XSLT 1.0.
About This PackageCompiling pattern matchers dynamically Applying pattern matchers Utilities powered by pattern matchersThe following convenience functions and macros use patterns. They are implemented using the lower-level functions listed below.Determine whether node matches the pattern expression. ... Match a node against static expressions. ... Match a node against static expressions. ... Compiling pattern matchers dynamicallyPattern are represented as objects:Represents a parsed XSLT pattern.
Return the user-specified value that will be returned by pattern
matchers if this pattern matches. Return the priority of this pattern. ... Use compute-patterns to parse a pattern expression into pattern objects: Parse an XSLT pattern expression into one or more pattern objects. ... make-pattern-matcher builds a matcher functions from multiple pattern objects. The matcher will find the highest-priority match among them. Create a pattern matcher that distinguishes between multiple patterns. ... Create a pattern matcher for a single pattern. ... Applying pattern matchersTo invoke a matcher created by make-pattern-matcher, use matching-value or matching-values:Apply a pattern matcher to node, and return exactly one value. ... Apply a pattern matcher to node, and return one or more matching values. ... | Exported Symbol Index
|