Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] multiple values for the key

From: "Michael Kay" <mike@------------>
To:
Date: 8/2/2008 5:53:00 PM
> But I am only concerned, that if stylesheet is quite large, 
> then to access the contents of a variable (i.e., this one, 
> <xsl:variable name="x-values">), we are asking processor to 
> build a large tree (an, additional one) in memory, which 
> might cause some performance concerns.
> 
> Using node-set function I feel is more memory efficient than, using
> document('') (which you wrote).

If the set of key values is constant (which seems a bit unlikely), then to
my mind the best solution is to put it in a separate document all on its
own, reading it using document('keys.xml'). This seems to me better than
putting it in the stylesheet and reading it using document('').

If the set of keys is constructed by the stylesheet, the creating an RTF and
reading it using xx:node-set() seems the only option.

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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent