[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Looking for shorthand form


Subject: [xsl] Looking for shorthand form
From: "karthikeyan.balasubramanian" <karthikeyan.balasubramanian@xxxxxxxxxxxxx>
Date: Tue, 6 Jan 2004 15:27:16 +0530

Hi,
 
  Can anybody suggest shorthand form for this code 

=============
<xsl:choose>
   <xsl:when test="string-length(@FIGNBR)=2">
    <xsl:value-of select="@FIGNBR"/>
    <xsl:text>&#160;</xsl:text>
   </xsl:when>
   <xsl:otherwise>
    <xsl:value-of select="@FIGNBR"/>
   </xsl:otherwise>
  </xsl:choose>
===============

Have a great day.

Karthikeyan B



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



Current Thread