This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XT bug?
- To: xsl-list at mulberrytech dot com
- Subject: Re: XT bug?
- From: Eric van der Vlist <vdv at dyomedea dot com>
- Date: Tue, 30 May 2000 23:05:03 +0200
- References: <11EFECB5ED98D111AC8E0060945138BC10C175@MAYTAG>
- Reply-To: xsl-list at mulberrytech dot com
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