xsl-list
[Top] [All Lists]

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

2006-05-24 06:20:19


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.

I had thought long and hard and believed I had found the
solution, but I guess I was wrong.
Thanks for saving me from that mistake.

So to be bold, how can I correctly create a key expression to read out
all members of a key, or list them in some other way?

Btw. Thanks all for the great support I'm getting from this list. I
always though our support list for Apache Forrest was pretty good. But
it doesn't even get close to the amazing input on this list.

--
Ferdinand Soethe


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