This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: mystery #3: rendering embedded HTML
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Sat, 13 Apr 2002 16:40:45 +0100
- Subject: RE: [xsl] mystery #3: rendering embedded HTML
- Reply-to: xsl-list at lists dot mulberrytech dot com
> The last mystery for me for one day ;) -- this one I've heard can be
> done with msxml extensions, but I'd prefer a portable solution:
>
> Can I restore HTML that has been encoded as CDATA escaped PCDATA?
>
Using disable-output-escaping is about your only option. It's not fully
portable (the spec makes it an optional feature), but it's suported by many
processors providing you are directing the transformation output to a serial
file rather than to a DOM or other tree structure.
Better, though, to avoid wrapping HTML in CDATA sections if you can.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list