This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How does xsl:if work?
- To: xsl-list at mulberrytech dot com
- Subject: Re: How does xsl:if work?
- From: "Sebastian Rahtz" <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Fri, 2 Jun 2000 21:56:22 +0100 (BST)
- References: <39380AC6.7EFE1C36@coxtarget.com>
- Reply-To: xsl-list at mulberrytech dot com
Brian Burridge writes:
> <xsl:if test="@team=ALL">
> <td class="th"> Team </td>
> </xsl:if>
you mean
<xsl:if test="@team='ALL'">
what you have said (I think) is
"if the value of the 'team' attribute equals the child element
called 'ALL'"
in the Man With The Beard's XSLT book, look at p177, better examples
under choose than if. if you have the book, that is
Sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list