[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Disable output-escaping

Subject: Re: [xsl] Disable output-escaping
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 27 Jan 2005 23:29:15 GMT

> I was thinking of fn:codepoints-to-string, but checking up, it says it
> has to be legal characters, so u are tight - it is irrelevant.

I sent a comment to the comment list suggesting that that allowed any
value (for text output which you might not want to be subject to xml
constraints) but they turned me down:-) (not unreasonably, I think)

> But they do - as mapped characters are not subject to escaping, and so
> d-o-e is in effect for them individually.

but rather different in that it is a local effect: the serialiser just
needs to know not to escape while expanding the character map. It
doesn't depend on where or how the character got in to the result tree.
If you could turn character maps on and off on specific attributes then
the result tree would have to have magic properties saying which maps
were in effect at each point.


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:

Current Thread