Filtering using XSL

Subject: Filtering using XSL
From: "tmmet tvp" <tmmet@xxxxxxxxxxx>
Date: Wed, 9 Feb 2000 21:41:35 -0400 (EST)
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



Current Thread