This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
easy XPath question
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] easy XPath question
- From: "Sanjay Pandey/Towers Perrin" <pandeys at towers dot com>
- Date: Mon, 6 Aug 2001 13:30:54 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
I have an XML in the following format
<level1 type='one'>
<level2 name = 'a'>
<description>abc</description>
</level2>
<level2 name = 'b'>
<description>bcd</description>
</level2>
</level1>
<level1 type='two'>
<level2 name = 'a'>
<description>abc</description>
</level2>
<level2 name = 'b'>
<description>bcd</description>
</level2>
</level1>
What should be the XPath for getting all the <level2 with attribute 'name'>
nodes under <level1 with type = 'one'>.
Thanks in advance,
Sanjay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list