[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Exclusion in path
Lee, You wrote: >Is it possible to use an XPATH in an XSL match >to get all nodes that are not FOO? Ben Robb wrote: ><xsl:template match="/ROOT/*[not(name() = 'FOO')]> Or if you really want all *nodes* (i.e. including comments, processing instructions and text nodes) that are not the *element* FOO, then: /ROOT/node()[not(self::FOO)] Cheers, Jeni Jeni Tennison http://www.jenitennison.com/ 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
|