This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How does xsl:if work?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]