[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

AW: if/else xsl ?

Subject: AW: if/else xsl ?
From: Jan Kohnert <J.Kohnert@xxxxxxxxxxx>
Date: Fri, 2 Jul 2004 12:05:53 +0200
xsl if else
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>
--+--



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.