NetBeansв„ў IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (2nd Edition)

The <xsl:non-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 appear between the substrings that match the supplied regular expression.

Changes in 2.0

This element is new in XSLT 2.0.

Format

<xsl:non-matching-substring> <!-- Content: sequence-constructor --> </xsl:non-matching-substring>

Position

<xsl:non-matching-substring> can only appear as a child of an <xsl:analyze-string> element, and it may not appear more than once.

Attributes

None.

Content

A sequence constructor.

Effect

The sequence constructor contained in the <xsl:non-matching-substring> element is evaluated once for each nonempty substring of the input string that appears between two substrings that match the regular expression. The result of evaluating the sequence constructor is added to the result of the containing <xsl:analyze-string> instruction.

Usage and Examples

See <xsl:analyze-string> on page 176.

See Also

Категории