Hello,
this is not a PHP bug, I even wonder if it's really a bug at all. If there
is a bug, which I dont think there is, it's in sablotron.
Derick
On Thu, 18 Apr 2002, Ken Egervari wrote:
> 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.
>
-----------------------------------------------------------------------
Did I help you? Consider a gift:
http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B
-----------------------------------------------------------------------
PHP: Scripting the Web - [EMAIL PROTECTED]
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
-----------------------------------------------------------------------
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php