This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Controlling which nodes to process
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Controlling which nodes to process
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 6 Jul 2001 14:22:11 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> is there an expression to select all the children except one ?
> something as : <xsl:apply-templates select="* and not( caption)"/>
<xsl:apply-templates select="*[not(self::caption)]"/>
Strictly this processes all the child ELEMENTS except the caption elements;
if you want all the child NODES except the caption elements write:
<xsl:apply-templates select="node()[not(self::caption)]"/>
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list