Subject: Re: XT bug?
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Tue, 30 May 2000 23:05:03 +0200
|
For me, it's a bug...
The XPath spec says !
> 4.1 Node Set Functions
>
> Function: number last()
>
> The last function returns a number equal to the context size
> from the expression evaluation context.
and also gives the following examples :
> para[last()] selects the last para child of the context node
Note that this doesn't seem to be related to the usage of the last()
function and that
<xsl:template match="/nodes/node[3]">
<xsl:value-of select="."/>
</xsl:template>
gives exactly the same result.
Eric
--
------------------------------------------------------------------------
Eric van der Vlist Dyomedea http://dyomedea.com
http://xmlfr.org http://4xt.org http://ducotede.com
------------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- XT bug?
- David Hunter - Tue, 30 May 2000 14:59:18 -0400
- Eric van der Vlist - Tue, 30 May 2000 23:05:03 +0200 <=
- Ron Ten-Hove - Tue, 30 May 2000 14:54:43 -0700
|
|