Re: Filtering using XSL
> Actually, > <xsl:template match = "Main[.//Chapter[@Value = 'false']]" /> > should work... what do you mean by `should work' ? As Steve Tinney said, it is a valid match expression but almost certainly not what you want. You said that you wanted to match on chapters, but that match either gives you the `Main' node (in the case that there is a chapter with value false) or the empty node list otherwise. It will never match on any chapters. David 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