This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
how to select the same attribute form more elements?
- From: Jakub dot Valenta at Deio dot net
- To: XSL-List at lists dot mulberrytech dot com
- Date: Thu, 14 Feb 2002 16:49:16 +0200
- Subject: [xsl] how to select the same attribute form more elements?
- Reply-to: xsl-list at lists dot mulberrytech dot com
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