[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XML to HTML... dynamic table headers from element names


Subject: Re: [xsl] XML to HTML... dynamic table headers from element names
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 1 Nov 2002 09:25:55 GMT

<xsl:text disable-output-escaping="yes">&lt;table

If ever you find yourself using disable-output-escaping="yes"
then you are either doing something that XSLt wasn't really designed to
do (such as generate entity references, or ASP/JSP escapes) or doing
something wrong.

When generating elements in XSLT you should generate the element itself,
using <table> not a string that might possibly be parsed as that element
if the file was reparsed.

Without seeing a top level discription of the transformation that you
wish to encode it's hard to suggest exactly what the XSLT formualtion
should be.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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



Current Thread
Keywords