This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: SV: <xsl:value-of ...> as value of HTML attribute
- To: xsl-list at mulberrytech dot com
- Subject: Re: SV: <xsl:value-of ...> as value of HTML attribute
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Mon, 26 Jun 2000 09:26:29 +0100 (BST)
- References: <6746AFC8AB87D311A8E64000830856D2070325@WMSI000272>
- Reply-To: xsl-list at mulberrytech dot com
> 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"><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