[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: algorithm for alternation [faked-from]
> <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
|
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
|