RE: [xsl] What's wrong with this key?

Subject: RE: [xsl] What's wrong with this key?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 24 May 2006 14:09:38 +0100
> Yes I did in the original code.
> But when I have doubts I use the above mentioned test 
> function which uses '//*' and should list all members of the 
> set, right? At least it did with other keys.

key('k', //*) will select all elements that match the key and that have a
"use" value equal to the string-value of one of the elements in your
document. If the use value is concat(x,':',y), and this evaluates to
321:6789, and no element in your document has the string-value 321:6789,
then the call on key() will select nothing.

Michael Kay

Current Thread