xsl-list
[Top] [All Lists]

Re: [xsl] A smarter choose operation XSL 1.1

2009-06-11 17:19:36
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--