[xsl] how to select the same attribute form more elements?

Subject: [xsl] how to select the same attribute form more elements?
From: Jakub.Valenta@xxxxxxxx
Date: Thu, 14 Feb 2002 16:49:16 +0200
Hi all,
what expression should I use to select all val attributes in the following
doc at once:

<myxml>
 <node val="1">t1</node>
 <node val="2">t2</node>
 <node val="3">t3</node>
 <node val="4">t4</node>
</myxml>

I can easily get all the values of text nodes by : /myxml/node/text(),

but I don't know how to get all the values of the attributes since:
/myxml/node/@val
gives my just the last one.

br,

Jakub


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread