[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Looking for shorthand form
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|