Multiple Filtering

Subject: Multiple Filtering
From: "tmmet tvp" <tmmet@xxxxxxxxxxx>
Date: Thu, 03 Feb 2000 13:05:10 PST
Hi,
Is there any way to do multiple filtering using one xsl file...
The below method does partial filtering...
I want to use one xsl file...I'll filter Subchapters with attribute Author value = "test"...Then,from the resultant ,I've to do one more filtering and so on...



<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl";> <!-- Identity transformation template --> <xsl:template> <xsl:copy> <xsl:apply-templates select="@* | * | comment() | pi() | text()"/> </xsl:copy> </xsl:template> <xsl:template match = "SUBCHAPTERS/@Author = "Test"/> <xsl:template match = "CHAPTER[not(SUBCHAPTERS)]"/> <xsl:template match = "/"> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:apply-templates/> </xsl:copy> </xsl:template>


</xsl:stylesheet>



______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com


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



Current Thread