[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Multiple Filtering

Subject: Multiple Filtering
From: "tmmet tvp" <tmmet@xxxxxxxxxxx>
Date: Thu, 03 Feb 2000 13:05:10 PST
multiple filtering
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.