Subject: Re: [xsl] Looking for shorthand form From: "karthikeyan.balasubramanian" <karthikeyan.balasubramanian@xxxxxxxxxxxxx> Date: Tue, 6 Jan 2004 17:09:42 +0530 |
Thanks Peter :) Karthikeyan B ----- Original Message ----- From: "Peter Hickman" <peter@xxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, January 06, 2004 4:42 PM Subject: Re: [xsl] Looking for shorthand form > karthikeyan.balasubramanian wrote: > > 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> </xsl:text> > > </xsl:when> > > <xsl:otherwise> > > <xsl:value-of select="@FIGNBR"/> > > </xsl:otherwise> > > </xsl:choose> > > =============== > > Maybe > > <xsl:value-of select="@FIGNBR"/> > <xsl:if test="string-length(@FIGNBR)=2"> > <xsl:text> </xsl:text> > </xsl:if> > > > 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Looking for shorthand for, Peter Hickman | Thread | Re: [xsl] Looking for shorthand for, George Cristian Bina |
Re: [xsl] Looking for shorthand for, George Cristian Bina | Date | RE: [xsl] XSL Java (&lt; < <, Rowland Shaw |
Month |