xsl-list
[Top] [All Lists]

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

2002-11-01 02:25:55

<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



<Prev in Thread] Current Thread [Next in Thread>
  • Re: XML to HTML... dynamic table headers from element names, David Carlisle <=