|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] AW: if/else xsl ?
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: 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>
--+--
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








