|
Subject: AW: [xsl] if/else xsl ? From: Jan Kohnert <J.Kohnert@xxxxxxxxxxx> Date: Fri, 2 Jul 2004 12:05:53 +0200 |
try:
<xsl:variable name="Color">
<xsl:choose>
<xsl:when test="($Zeilenzaehler mod 2 )= 0">
<xsl:value-of select="$RowDark_bgcolor"/>
</xsl:when>
<xsl:when test="($Zeilenzaehler mod 10 )= 0">
<xsl:value-of select="$RowDarker_bgcolor"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$RowLight_bgcolor"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
-----Ursprüngliche Nachricht-----
Von: Pierre [mailto:pierre@xxxxxxxxxxxxx]
Gesendet: Freitag, 2. Juli 2004 11:58
An: Xsl-List
Betreff: [xsl] if/else xsl ?
Hi guy i search some docs about if - else in xsl but can't fin it
Any idea plz ?
i have this and I wanna when @desc="pays" do other thing how can I do it ?
thx for help
Pierre
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
--+--
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] if/else xsl ?, Rod Humphris - FLPTN | Thread | Fwd: [exslt] param problem, xptm |
| RE: [xsl] if/else xsl ?, Robert Clarke | Date | Re: [xsl] if/else xsl ?, David Carlisle |
| Month |