[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] xslt 2.0 regex


Subject: Re: [xsl] xslt 2.0 regex
From: davep <davep@xxxxxxxxxxxxx>
Date: Sat, 17 Mar 2012 18:10:12 +0000

Finally got Tonys simpler solution working

<xsl:variable name='Name.re'
	      select='"\$\i\c*"'/>

 <xsl:analyze-string
	  select="@select"
	  regex="{$Name.re}"
	  flags="x">
	<xsl:matching-substring>

<xsl:value-of select="regex-group(0)"/>
etc


Thanks to those who offered help. I owe you (another) beer Tony.






regards


--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


Current Thread
Keywords