Multiple Filtering

Subject: Multiple Filtering
From: "tmmet tvp" <tmmet@xxxxxxxxxxx>
Date: Thu, 03 Feb 2000 15:35:18 PST
Hi,
I've an xml as follows...
<Main>
<Chapter>
 <Chapter>
   <Chapter>
     <SubChapter>
     </SubChapter>
    </Chapter>
   </Chapter>
 </Chapter>

 <Chapter>
 </Chapter>
<Main>

I want all Chapters that has SubChapters alone.That is,I want to filter out Chapters (till the last level) which does not has SubChapter.
I tried using as follows...
<xsl:template match = Chapter[not(SubChapter)]"/>
But,this filters out all Chapters....
Any ideas/suggestions will be greatl helpful for me
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



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



Current Thread