|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Can you index document() nodeset with <xsl:key?
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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








