RE: [xsl] Is a node a first/last child?

Subject: RE: [xsl] Is a node a first/last child?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 26 Jul 2001 10:44:49 +0100
> 
> <xsl:if test="position() = 1 or position = last()" />

No, that tests if it's the first or last in the current node list.

Mike Kay
Software AG
> 
> >
> >I need to know if the current node is the first or the last 
> child of his
> >parent.
> >Can anyone help me with that?
> >
> >Kind regards from Brazil!
> >Nadia
> >
> >
> >XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at 
> http://explorer.msn.com/intl.asp
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread