Subject: [xsl] Can you index document() nodeset with <xsl:key? From: "Hondros, Constantine" <Constantine.Hondros@xxxxxxxxxxxxxxxx> Date: Fri, 1 Jul 2005 17:31:08 +0200 |
Probably been asked a hundred times but ... I'm trying to define a key on a _massive_ nodeset that is loaded through document() into a variable in my stylesheet. I use this nodeset to perform all sorts of useful lookups during batch transformation of thousands of files, but it's a bit slow with lots of : <xsl:value-of select="$mynodeset//item[@id=$something] ... ... so I'm trying to speed it up by keying it. The key however doesn't return anything, and I can't find any examples of keying being done quite like this. Is the approach at least valid? Are there any caveats like the relative position of the document() and the <xsl:key> directives? Thanks -- The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: OT: [xsl] Our Email Server (was, Ed - Elektonika | Thread | Re: [xsl] Can you index document() , David Carlisle |
RE: OT: [xsl] Our Email Server (was, Ed - Elektonika | Date | [xsl] XSL-List Guidelines, Mulberry Technologie |
Month |