Re[2]: [xsl] CDATA back to its original shape

Subject: Re[2]: [xsl] CDATA back to its original shape
From: viewga <viewga@xxxxxxxxxxxx>
Date: Thu, 15 Feb 2001 16:20:54 +0200
Hello David,

Thursday, February 15, 2001, 3:35:20 PM, you wrote:

DC>  You meant <!<[CDATA not <cdata there I think, but beware 
DC> But why would anyone want to write 

DC>  <xsl:text disable-output-encoding="yes"><![CDATA[ <foo>  </foo>]]></xsl:text>

DC> which is a horrible kludge even when it works, when you can
DC> far more simply write

DC>   <foo>  </foo>

because there can be a thing such as
<xsl:text disable-output-encoding="yes"><![CDATA[<a><b><c>]]></xsl:text>,
and there may be a lot of reasons for having <a><b><c> (i.e. not
wellformed xml) - as for ex - header, body, footer - with header and footer
formed by not well formed html (i.e. <html> in header and </html> in footer)
or to speedup parsing or whatever the reason is.

This reply is provided on AS IS basis without warranty of any kind
Best regards,
 viewga                            mailto:viewga@xxxxxxxxxxxx

 XSL-List info and archive:

Current Thread