RE: [xsl] Controlling which nodes to process

Subject: RE: [xsl] Controlling which nodes to process
From: Troadec Pascal <Pascal.Troadec@xxxxxxxxxxxxxxx>
Date: Fri, 6 Jul 2001 15:43:42 +0200
Hi  Mike,

it works fine.

Thanks for your help

Pascal Troadec

> -----Original Message-----
> From:	Michael Kay 
> Sent:	Freitag, 6. Juli 2001 15:22
> To:	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:	RE: [xsl] Controlling  which nodes to process
> 
> > 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

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


Current Thread