Re: [xsl] A smarter choose operation XSL 1.1

Subject: Re: [xsl] A smarter choose operation XSL 1.1
From: Michael Ludwig <milu71@xxxxxx>
Date: Thu, 11 Jun 2009 23:18:49 +0200
David Carlisle schrieb am 11.06.2009 um 09:45:25 (+0100):
> 
>   <xsl:value-of select="substring('1   1.702.253  ',
> 			1+4*($optional.one + $optional.two + $optional.three),
> 			4)"/>

Bravissimo :-) You could even add one more space between the items (for
sissy documentation purposes), and then do 1 + 5 * ( $opt... ).

  substring('1.00 1.70 2.25 3.00,
    1 + ( $opt.one + $opt.two + $opt.three ) * 5, 4)

Michael Ludwig

Current Thread