Re: Anyway to avoid a syntax error when matching with
Is there any way to avoid a syntax error with a regex containing both '" for example ['"](.*?)["'] in the following select.
You need to escape the inner ' by doubling it
<xsl:value-of select="matches(., '[''"](.*?)["'']')"/> --
Martin Honnen http://msmvps.com/blogs/martin_honnen/
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format