Write:
<xsl:if test="@wrap='yes'">some things</xsl:if>
Michael Kay
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
Martin Klaffenboeck
Sent: 02 July 2003 16:01
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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