Subject: Re: [xsl] xslt 2.0 regex From: davep <davep@xxxxxxxxxxxxx> Date: Sat, 17 Mar 2012 14:52:05 +0000 |
On 2012-03-17 14:37, davep wrote:<xsl:variable name='Name.re' select='concat($NameStartChar.re, "(", $NameChar.re,")*")'/>
then in use
<xsl:template match="*"> <xsl:if test="matches(@select, $Name.re,'x') ">
Is $Name.re supposed to match the entire @select attribute value,
Analyse-string I guess. I was too focussed on the regex.
Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xslt 2.0 regex, Imsieke, Gerrit, le- | Thread | Re: [xsl] xslt 2.0 regex, Dimitre Novatchev |
Re: [xsl] Re: group together subseq, G. Ken Holman | Date | Re: [xsl] xslt 2.0 regex, Dimitre Novatchev |
Month |