xsl-list
[Top] [All Lists]

Re: Optimization using keys

2005-02-16 05:43:23
On Wed, 16 Feb 2005 04:35:14 -0800 (PST), David Carlisle
<davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:


1) Is this a case where i should/could use keys instead (i never used
keys before so it's a little puzzling to me)

perhaps, although keys work on a per-document basis so you need to
decide the points below first.

 
I'm afraid i don't understand what you're saying. Is it that if i want
to use keys i can not use document()?


2) Since the lookup document and the input tree are the same,

?? Why are you using document() at all in that case?

Good question, i really don't know. Probably at the beggining i had
two diferent doc's and use it, and many copy&pasts after it
survived...

But it's not needed, you're right, i've got then out.

Can you elaborate on the keys usage?

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>