Re: [xsl] replacing ALL chars in a string in a SINGLE shot

Subject: Re: [xsl] replacing ALL chars in a string in a SINGLE shot
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 14 Jan 2004 17:15:26 GMT
Why do you want to escape these characters by hand using xslt (which
isn't the best language for the job, as you have observed) and then 
have to use the deprecated, unreliable and non-portable
disable-output-escaping
to make the resulting string work.

Why not just output the characters directly and let teh XSLT engine
escape the characters if needed?

If you want them to appear as character references rather than character
data, just use an output encoding that does not contain the character
(eg US-ASCII)

David


-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread