This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Position
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Position
- From: Jörg Heinicke <joerg dot heinicke at gmx dot de>
- Date: Wed, 31 Oct 2001 17:53:44 +0100
- References: <000001c16229$08ecc380$aa0000c0@gfmi.com.br>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Do you want something like:
<xsl:if test="position()=1">
do something
</xsl:if>
<xsl:if test="position()=last()">
do something too
</xsl:if>
Joerg
Carlos Durand Silvestrin wrote:
> How can I know the number position of current node??? I want to know the
> first and last!!!
>
> Thanks
>
>
> Durand
--
System Development
VIRBUS AG
Fon +49(0)341-979-7435
Fax +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list