RE: [xsl] if statement

Subject: RE: [xsl] if statement
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 2 Jul 2003 17:29:36 +0100
Write:

<xsl:if test="@wrap='yes'">some things</xsl:if>

Michael Kay


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Martin Klaffenboeck
> Sent: 02 July 2003 16:01
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] if statement
> 
> 
> Hello,
> 
> How can I test if my current node has a attribute named 'wrap' and if 
> it has the value 'yes' I would have to add some things with 
> <xml:text> 
> if 'wrap' does not exist or it is 'no', I don't want to add 
> this things.
> 
> How can I do that?
> 
> Martin
> -- 
> If you've got an idea and need help,
> or just need general encouragement,
> write me a message. ;-)
> 
>  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