Subject: Re: [xsl] difference in regexp matches() and analyze-string From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Mon, 31 Dec 2007 17:09:03 +0100 |
<xsl:template match="al"> <xsl:variable name='txt' select="./text()"/> <xsl:variable name='re2' select="concat('^(', '2\.)', '\s+(.*)$')" as="xs:string"/>
<xsl:if test="matches($txt, $re2)"> <xsl:text>MATCH</xsl:text> </xsl:if> <xsl:analyze-string select="$txt" regex="$re2" >
Martin Honnen http://JavaScript.FAQTs.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] difference in regexp matches(, Ruud Grosmann | Thread | Re: [xsl] difference in regexp matc, Alice Wei |
[xsl] difference in regexp matches(, Ruud Grosmann | Date | Re: [xsl] difference in regexp matc, Alice Wei |
Month |