Re: [xsl] RE: Javascript quote escaping xx = (' ... \' ... ')

Subject: Re: [xsl] RE: Javascript quote escaping xx = (' ... \' ... ')
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 31 Aug 2005 15:43:20 +0100
translate() only translates single characters to single characters (or
nothing) so can't do this. There are many instances of string-replace
templates in the archives or faq which can do it. or you may want a
processor extension replace function, or xslt2 has regular-expression
replace() which could also do this.

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