xsl-list
[Top] [All Lists]

Re: xsl:key only checks first child, need to check all

2005-10-28 01:00:15
Hi Patrick,

Which obviously would cause the problem I described. But that '[1]' was left 
over from me debugging. Sorry about that. It doesn't really matter whether 
it's there or not - I get the same results. So obviously [1] is the default 
when no explicit expression is given. The problem is that I can't figure out 
how to select all, something like [*].

Obviously [1] is not the default in general.

What you get is a nodeset containing all contains elements in the
given structure.
When you use the concat function, you get a string as an output.
Because of this, the nodeset is converted to a string using the rules
for this - meaning that you get the string value of the first element
in the nodeset.

Ragulf Pickaxe :-)

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