This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Is a node a first/last child?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Is a node a first/last child?
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 26 Jul 2001 10:44:49 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
>
> <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