Package net.sf.saxon.trans.rules
package net.sf.saxon.trans.rules
This package provides classes to implement matching of patterns for selection of template rules within a mode.
-
ClassDescriptionEnumeration representing the permitted values of
xsl:mode/@on-no-match
, decomposed into more primitive actionsDefines a set of built-in template rules (rules for use when no user-defined template rules match a given node)The built-in rule set introduced in XSLT 3.0, which performs a deep copy of any unmatched node.The rule set introduced in XSLT 3.0, which (for any kind of node) simply ignores the node and its descendants.The built-in rule set introduced in XSLT 3.0, which raises an error when there is no user-supplied template rule that matches a node.Rule: common functionality representing an abstraction of a template rule, a strip-space rule, or an accumulator ruleA chain of rules: actually in this incarnation just a pointer to the first rule in the chain, the others being linked together each to the next.RuleManager maintains a set of template rules, one set for each modeA simple class for holding stateful details of a rule search operation This is a dummy implementation for Saxon-HE which does not optimize searching a rule chain.A set of built-in template rules that performs the same action as an underlying set of rules, but with the addition of a warning message saying that no user-defined template rules was found.The target of a rule, typically a TemplateRule.The built-in shallow-copy-all rule set proposed for XSLT 4.0, which is the same as shallow-copy, except for maps and arrays.The built-in rule set introduced in XSLT 3.0, which is effectively an identity template.A built-in set of template rules that ignores the current node and does an apply-templates to its children.The built-in rule set used for 1.0 and 2.0, which for document and element nodes does an apply-templates to children, and for text nodes and attribute nodes copies the node.