Dimitre Novatchev wrote:
Hve an auxiliary function, which creates a new node every time t is
evaluated, for example using:
Then in your code use:
generate-id(pref:GetNode() )
David Carlisle wrote:
<xsl:variable name="x">x</xsl:variable>
...generate-id($x)...
but generating new nodes just to discard may be a bit expensive
thanks to you both, yes, that is indeed what I was looking for. About
expensiveness: I just did some test and my main process goes from 1.2
seconds to 1.2 seconds and generates about 100 of these throw-away
nodes, so for the not too demanding environments, the performance hit is
negliciable (?word?)
-- Abel
--~------------------------------------------------------------------
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>
--~--