Re: XSLT bug
| From: | derick@php.net | Date: | Thu, 18 Apr 2002 17:12:28 +0000 |
| Subject: | Re: XSLT bug | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-82931@lists.php.net to get a copy of this message | ||
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 - derick@php.net
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
-----------------------------------------------------------------------