This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Filtering using XSL
- To: xsl-list at mulberrytech dot com
- Subject: Filtering using XSL
- From: "tmmet tvp" <tmmet at hotmail dot com>
- Date: Wed, 9 Feb 2000 21:41:35 -0400 (EST)
- Reply-To: xsl-list at mulberrytech dot com
Hi,
Can anyone help me out...
My XML file is as follows...
<Main>
<Chapter Value = "true"/>
<Chapter Value = "false">
<Chapter Value = "true"/>
</Chapter>
<Chapter Value = "true"/>
</Main>
I want to get all Chapters with Value(attribute) "true".
In my XSL,I used as follows...
<xsl:template match = "Main[not(.//Chapter[@Value = 'false'])]"/>
But,its not filtering all the Chapters...Its filtering only the main
Chapters...Any ideas/suggestions will be greatly helpful for me..
Thanks in advance
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list