Package: xpattern

Function compute-patterns

Lambda List

compute-patterns (expression priority value environment)

Arguments

  • expression -- a string or s-expression
  • priority -- an integer
  • value -- an object
  • environment -- an environment

Return Value

a list of patterns

Details

Parse an XSLT pattern expression into one or more pattern objects.

Parses an expression, resolves its namespace-, variable-, and function-references using the specified environment, and creates a pattern object for the expression (if it does not use a union) or one pattern object for each sub-expression that is being joined into the union.

The specified priority is used as the pattern-priority, and the specified value is used as the pattern-value.

 

See also