How about this (not very cool):
test="concat(path/person/first, '|', path/person/first, '|', path/person/first)
= concat(first, '|', middle, '|', last)
This does not work. The concat() function transforms the node sets into
strings, and so the expression "concat(path/person/first, '|',
path/person/middle, '|', path/person/last)" takes the values of the
<first>, <middle>, and <last> elements of the *first* <person> element
(the string value of a node set is by definition the string value of the
first node in the node set) and concatenates them. So the test you
propose will always yield "false" unless the context node happens to be
equal to the first <person> element.
Wolfhart
--~------------------------------------------------------------------
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>
--~--