XSLT 1.0: Cannot use schema, phase, or pattern variables in a rule context expression
dmj opened this issue · comments
David Maus commented
Schematron rules are implemented as template rules. As pre XSLT 1.0 specification the @match attribute may not contain a variable reference.
A template rule is specified with the xsl:template element. The match attribute is a Pattern that identifies the source node or nodes to which the rule applies. The match attribute is required unless the xsl:template element has a name attribute (see [6 Named Templates]). It is an error for the value of the match attribute to contain a VariableReference. The content of the xsl:template element is the template that is instantiated when the template rule is applied.