xsl-list
[Top] [All Lists]

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

2006-05-24 06:09:54
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
http://www.saxonica.com/


--~------------------------------------------------------------------
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>