The <xsl:matching-substring> element is used within an <xsl:analyze-string> instruction to indicate the processing that should be applied to substrings of the input string that match the supplied regular expression.
This element is new in XSLT 2.0.
<xsl:matching-substring> <!-- Content: sequence-constructor --> </xsl:matching-substring>
<xsl:matching-substring> can only appear as a child of an <xsl:analyze-string> element, and it may not appear more than once.
None.
A sequence constructor.
The sequence constructor contained in the <xsl:matching-substring> element is evaluated once for each substring of the input string that matches the regular expression. The result of evaluating the sequence constructor is added to the result of the containing <xsl:analyze-string> instruction.
See <xsl:analyze-string> on page 176
<xsl:analyze-string> on page 176
<xsl:non-matching-substring> on page 358