Re: [xsl] Sorting using helper structure, position(), xsl:key

Subject: Re: [xsl] Sorting using helper structure, position(), xsl:key
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Wed, 16 Apr 2008 09:40:24 +0200
Michael Ludwig wrote:
You must
use a variable in this case, which, of course, is unfortunate if the
node-set to search is large.



I'd be surprised if you could find a single XSLT processor that actually makes a deep copy of the full tree. A simple test with several variables pointing to the root node of several large documents shows no increase in internal memory usage compared to using only one variable per document. In other words: use as many variables as you like.

Cheers,
-- Abel Braaksma

Current Thread