Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] multiple values for the key

From: "G. Ken Holman" <gkholman@-------------------->
To:
Date: 8/2/2008 7:06:00 PM
At 2008-08-02 20:30 +0530, Mukul Gandhi wrote:
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.

Which is why I offered "ken2.xsl" as an option which reads only a 
dozen lines of XML and would build a small tree:



At 2008-08-02 05:43 -0400, I wrote:
I grant, though, that if your stylesheet is large then putting this 
into a small included or imported fragment would keep any overhead 
of building the tree small.

Remember that document('') reads only the XML fragment that has the 
call to the function ... it is not reading in the entire stylesheet 
import tree.  There is no access in this way to stylesheet values 
outside of the fragment.



. . . . . . . . . . . . Ken



--
Upcoming XSLT/XSL-FO hands-on courses:      Wellington, NZ 2009-01
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


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