Subject: Re: [xsl] regular expression issue in XSLT 2.0 From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 22 Feb 2006 16:48:16 GMT |
But how do you escape then the curly sign as a character? \{{ It happens in two passes. Working backwards, you want a regexp something like x{2}zzz\{ but to put that in an AVT you need to qupte every { by doubling it, this quoting is completely blind to regexp syntax, it's just a string at that level so just double all the { and end up with x{{2}}zzz\{{ xsl:analyze-string will take that as an AVt so unquote the braces and pass x{2}zzz\{ to the xpath regep engine, as required. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] regular expression issue in X, Paul Hermans | Thread | RE: [xsl] regular expression issue , Michael Kay |
Re: [xsl] Outputing the same value-, Liron | Date | Re: [xsl] Outputing the same value-, Jay Bryant |
Month |