This package provides classes to implement matching of patterns for selection of template rules within a mode.
Interface Summary Interface Description BuiltInRuleSetDefines a set of built-in template rules (rules for use when no user-defined template rules match a given node) RuleTargetThe target of a rule, typically a TemplateRule.
Class Summary Class Description DeepCopyRuleSetThe built-in rule set introduced in XSLT 3.0, which performs a deep copy of any unmatched node. DeepSkipRuleSetThe rule set introduced in XSLT 3.0, which (for any kind of node) simply ignores the node and its descendants. FailRuleSetThe 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. RuleRule: common functionality representing an abstraction of a template rule, a strip-space rule, or an accumulator rule RuleChainA 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. RuleManagerRuleManager maintains a set of template rules, one set for each mode RuleSearchStateA 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. RuleSetWithWarningsA 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. ShallowCopyAllRuleSetThe built-in shallow-copy-all rule set proposed for XSLT 4.0, which is the same as shallow-copy, except for maps and arrays. ShallowCopyRuleSetThe built-in rule set introduced in XSLT 3.0, which is effectively an identity template. ShallowSkipRuleSetA built-in set of template rules that ignores the current node and does an apply-templates to its children. TextOnlyCopyRuleSetThe 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.
Enum Summary Enum Description BuiltInRulesEnumeration representing the permitted values of
xsl:mode/@on-no-match, decomposed into more primitive actions