Re: [xsl] <![CDATA[ Confusions

Subject: Re: [xsl] <![CDATA[ Confusions
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 28 Jul 2005 23:02:06 +0100
> My "" keep getting converted into &quot; 
 A serialiser is allowed to do that (as " and &quot; are equivalent)
 however it's rather surprising that it should use entity references in
 element content. which system are you using? However if you are
 generating xhtml " and & quot; are equivalent so it shouldn't matter
 (if you are giving the resulting file to a conforma xhtml system)

If you are generating html, then if the html output method is being
used, the serialiser should never use any entity references in the
content of a script element (in no namespace) so in this case, if you
are getting quot; it's a processor bug.

Within the stylesheet youcan either use a cdata section or write the <
as &lt; (these are equivalent input and the choice of input style has no
effect on the result).

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