xsl-list
[Top] [All Lists]

RE: problem using dyn:evaluate with MSXML

2004-12-16 11:10:28
However if I suggest that, Mike is bound to say that saxon 
can spot if an
RTF variable is always used as a string and so optimises away its
internal node structure. so doing this explictly makes no difference.

I'm getting close to that, but not quite there yet. I do some special-casing
of constructs like 

<xsl:variable name="x">fred</xsl:variable>

or

<xsl:variable name="x"><xsl:value-of select="'fred'"/></xsl:variable>

but it's still a lot more expensive than

<xsl:variable name="x" select="'fred'"/>

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--