Re: [xsl] Can I create a key on elements in a non-primary XML document?

Subject: Re: [xsl] Can I create a key on elements in a non-primary XML document?
From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 16 Mar 2025 14:45:29 -0000
Martin wrote:

>    key('key-name', key-expression, $doc1)
> or
> $doc1 ! key('key-name', key-expression)

Thank you, Martin. I implemented both versions and found that my XSLT program
runs a little bit faster with the second one (22 seconds versus 21 seconds).
Is there a reason for why the second one is a little faster?

/Roger

Current Thread