|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Filtering using XSL
Thanks for your Mail...Ok...I'll start from scratch....
My XML file is as follows...
<Main>
<Chapter Value = "false">
<Chapter Value = "false">
<Chapter Value = "true"/>
</Chapter>
</Chapter>
<Chapter Value = "false">
<Chapter Value = "true"/>
</Chapter>
<Chapter Value = "true"/>
</Main>I want to filter out all Chapters(including children/descendants) with Value = "false". So,I've to get only Main which contains Chapters(direct children/descendants,children of Chapters) with Value = "true" after transformation... In my xsl file,I tried the following possibilities... 1. <xsl:template match = "Main//Chapter[@Value = 'false']"/> 2. <xsl:template match = "Main[not(.//Chapter[@Value = 'false'])]"/> Any ideas/suggestions will be graetly helpful for me... Thanks in advance... From: Kay Michael <Michael.Kay@xxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxx To: "'xsl-list@xxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxx> Subject: RE: Filtering using XSL Date: Thu, 10 Feb 2000 18:50:21 -0000
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








