[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: How does xsl:if work?
From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Jun 2000 21:56:22 +0100 (BST)
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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member