xsl:matching-substring


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.

Changes in 2.0

This element is new in XSLT 2.0.

Format

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

Position

<xsl: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: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.

Usage and Examples

See <xsl:analyze-string> on page 176

See Also

  • <xsl:analyze-string> on page 176

  • <xsl:non-matching-substring> on page 358




XSLT 2.0 Programmer's Reference
NetBeansв„ў IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (2nd Edition)
ISBN: 764569090
EAN: 2147483647
Year: 2003
Pages: 324

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net