xsl-list
[Top] [All Lists]

RE: if statement

2003-07-02 08:20:40

Hello Martin,

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.

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

Cheers,
Dave.

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



<Prev in Thread] Current Thread [Next in Thread>