This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re[2]: CDATA back to its original shape


Hello David,

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

DC>  You meant <!<[CDATA not <cdata there I think, but beware 
yes
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@phreaker.net




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]