This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Outputting "entire nodes" 2
- To: xsl-list at mulberrytech dot com
- Subject: Re: Outputting "entire nodes" 2
- From: Warren Hedley <w dot hedley at auckland dot ac dot nz>
- Date: Fri, 23 Jun 2000 09:34:49 -0400
- CC: Hakan Pettersson <hakanxsl15 at hotmail dot com>
- Organization: Department of Engineering Science, The University of Auckland
- References: <20000623083021.84087.qmail@www61.linkexchange.com>
- Reply-To: xsl-list at mulberrytech dot com
Hakan Pettersson wrote:
>
> <HtmlTable><![CDATA[
> <table border=0 cellspacing=0>
> ...
> ...
> </table>
> ]]></HtmlTable>
Why not use well-formed XHTML to define your table. Put quotes
around your attributes, close all <td> tags, etc. It's the "right"
way to do things.
> It works almost with copy-of.
> However "<" is output as "<"
> ">" is output as ">"
If you absolutely can't do that, then you can use (this only
works now because of the CDATA)
<xsl:value-of select="." disable-output-escaping="yes" />
Try not to resort to this kind of hack though. The
disable-output-escaping attribute should only be used
as a last resort.
--
Warren Hedley
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list