|
Subject: [xsl] Re: algorithm for alternation [faked-from] From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx> Date: Wed, 20 Aug 2003 20:08:46 +0200 |
> <xsl:choose> > <xsl:when test=".[position() mod 2 = 1"> This is illegal syntax. And this is also illegal: > <xsl:when test=".[position() mod 2 = 1]"> The syntactically correct way of expressing what you meant is: <xsl:when test="position() mod 2 = 1"> <!-- Do whatever is necessary here --> </xsl:when> ===== Cheers, Dimitre Novatchev. http://fxsl.sourceforge.net/ -- the home of FXSL XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] algorithm for alternation, Mischa Sandberg | Thread | AW: [xsl] Problem with comparison, Markus Abt |
| RE: [xsl] algorithm for alternation, Mischa Sandberg | Date | RE: [xsl] newbie question about str, fe . sola |
| Month |