Modules | Category: example Use CaseSource (view)<?xml-stylesheet type="text/xsl" href="regexp.match.1.xsl" ?> <a> <c>Is this EXSLT? No. no</c> </a> Stylesheet (view)<xsl:import href="regexp.match.msxsl.xsl" />
<xsl:template match="c">
<out>
<xsl:value-of select="." />
-
<xsl:for-each select="regexp:match(., 'no', 'gi')">
<xsl:value-of select="." />
</xsl:for-each>
</out>
</xsl:template>Result (view)<out>Is this EXSLT? No. no -
Nono</out>Change HistoryPrevious Version: ..NaN.html
|
http://www.exslt.org/regexp/functions/match/regexp.match.use-case.1.html last modified 2001-06-24