xsl-list
[Top] [All Lists]

Re: [xsl] xslt 2.0 regex

2012-03-17 13:10:21
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>