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

Unable to mix xsl:element and xsl:choose

Subject: Unable to mix xsl:element and xsl:choose
From: Bharat.Chintapally@xxxxxxxxxxxxxxxxx
Date: Wed, 1 Nov 2000 18:19:17 -0400 (EST)
mix choose
I am unable to mix xsl:element and xsl:choose tags. In the following code I
am just trying to display a different image based on the value of "state".
I am not sure what is missing here. I am using MSXML in IE 5.5.

            <font class="Green">
            <xsl:element name="a">
              <xsl:attribute name="href">

/servlet/com.commercequest.enet.status.web.StatusQuery?report=Document
Detail&amp;uuid=<xsl:value-of select="@uuid"/>
              </xsl:attribute>
     <xsl:choose>
              <xsl:when test="state='IN_PROGRESS'">
              <img BORDER="0" SRC="/status/media/images/move.gif" WIDTH
="16" HEIGHT="16"/><xsl:value-of select="state"/>
              </xsl:when>
              <xsl:otherwise>
         <img BORDER="0" SRC="/status/media/images/go.gif" WIDTH="16"
HEIGHT="16"/><xsl:value-of select="state"/>
              </xsl:otherwise>
             </xsl:choose>
            </xsl:element>
            </font>

Any help is appreciated.

thanks
-- bharat
---------------------------------------------------------------
Bharat Chintapally
CommerceQuest Inc.
bharat.chintapally@xxxxxxxxxxxxxxxxx
New Phone # 813-639-6478
---------------------------------------------------------------




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.