Subject: RE: How does xsl:if work? From: "Arnold, Curt" <Curt.Arnold@xxxxxxxxxxxxx> Date: Fri, 2 Jun 2000 14:14:13 -0600 |
<xsl:if test="@team=ALL"> <td class="th"> Team </td> </xsl:if> Your XPath is interpreted as: value of team attribute = text value of all child elements of current node with tag name "ALL", which would always be false for your example. What you apparently wanted was: <xsl:if test="@team='ALL'"> <td class="th"> Team </td> </xsl:if> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: How does xsl:if work?, Brian Burridge | Thread | RE: How does xsl:if work?, John . Barnhart |
RE: Keys across multilple input fil, Ann Marie Rubin - Su | Date | RE: How does xsl:if work?, John . Barnhart |
Month |