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

Re: [xsl] Looking for shorthand form


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

Thanks Rowland :)

Karthikeyan B
----- Original Message ----- 
From: "Rowland Shaw" <Rowland.Shaw@xxxxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, January 06, 2004 4:54 PM
Subject: RE: [xsl] Looking for shorthand form


> Factoring out gives:
> 
> <xsl:value-of select="@FIGNBR"/>
> <xsl:if test="string-length(@FIGNBR)=2">
> &#160;
> </xsl:if>
> 
> 
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> karthikeyan.balasubramanian
> Sent: 06 January 2004 09:57
> To: MulberryTech List
> Subject: [xsl] Looking for shorthand form
> 
> 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
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


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



Current Thread