This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Position


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]