This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Multiple Filtering


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]