Re: SV: <xsl:value-of ...> as value of HTML attribute

Subject: Re: SV: <xsl:value-of ...> as value of HTML attribute
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 26 Jun 2000 09:26:29 +0100 (BST)
> First: Jeni is right about the semantics, but when it comes down to
> performance, this is what works the best.
> 
> 	<xsl:text disable-output-escaping="yes">&lt;option</xsl:text>

disable-output-escaping is never guaranteed to work at all. In many
cases it has a real performance hit in that it forces the entire
document to be reparsed as XML. outputting markup as text only works if
the output tree is being linearised to a text stream and then reparsed,
XSL is designed to ovoid that overhead and allow the output tree (or sax
stream, or any other internal form) to be passed straight to another XML
application without the overhead of reparsing.

David


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


Current Thread