Subject: Re: [xsl] How smart are the XSLT processors? Are there any XSLT processors that convert tree-recursive functions into efficient iterative procedures? From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 28 Apr 2010 23:42:36 +0100 |
David Carlisle wrote:
Hi,
You are making it pretty inefficient in any case by using value-of (or relying on your xslt engine to optimise this away) by using value-of you are asking for a document node with a text node child
I didn't follow the whole discussion in details, so I probably missed something, but why do you say "by using value-of you are asking for a document node"? I thought it just created one text node.
Regards,
<xsl:function name="ex:fibclosed" as="xs:integer"> <xsl:param name="n" as="xs:integer"/> <xsl:sequence select="xs:integer(floor(ex:pow($phi,$n) div $r5 + 0.5))"/> </xsl:function>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How smart are the XSLT pr, Florent Georges | Thread | Re: [xsl] How smart are the XSLT pr, Markus Flatscher |
Re: [xsl] How smart are the XSLT pr, Florent Georges | Date | [xsl] Re: Arabic fonts and ligature, Manuel Souto Pico |
Month |