XSLT bug

From: Date: Thu, 18 Apr 2002 04:57:21 +0000
Subject: XSLT bug
Groups: php.dev 
Request: Send a blank email to php-dev+get-82929@lists.php.net to get a copy of this message
If I have an XML document with 2 applications nodes and the following template in the style sheet <xsl:template match="application"> <xsl:number format="a" value="position()" /> <xsl:value-of select="@name" /> <br /> </xsl:template> the result is b. the name d. the name2 When I think it should be "a. " and "b .". For some reason, position() is returning the wrong result.

« previous php.dev (#82929) next »