[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Outputting "entire nodes" 2

Subject: Re: Outputting "entire nodes" 2
From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx>
Date: Fri, 23 Jun 2000 09:34:49 -0400
Re: Outputting "entire nodes" 2
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 "&lt;"
> ">" 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.