xsl:accumulator-rule
Defines a rule for an xsl:accumulator.
Content: sequence-constructor
Permitted parent elements:
xsl:accumulator
Attributes
|
| Pattern defining the set of nodes to which the accumulator rule applies. |
|
| Determines whether the rule fires before or
after descendants are processed, by specifying |
|
| The expression to be evaluated by the rule may be given
either by a |
|
| The value "yes|true|1" on a |
Saxon availability
Available in XSLT 3.0. From Saxon 9.8, available in all editions. Implemented in Saxon-PE and Saxon-EE since Saxon 9.6. Available for all platforms.
Examples
For an example of the use of a capturing accumulator rule to construct the glossary of a document, see the blog article Capturing Accumulators.