This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: key() question?


> I want to understand this: is this the behaviour of the key construct? 
> Will it always do a full recursive traversal of the entire tree to 
> locate nodes matches by the pattern?

It's a match attribute with the same semantics as the match on xsl:template.
So yes it basically implies a full traversal, although of course the
system may or may not be able to optimise away some of that work (in
particular not do it at all if the key is never used).

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]