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: Is a node a first/last child?


<xsl:if test="position() = 1 or position = last()" />

I think.

-Kevin


>From: Nadia Karasawa <nadia@intraweb.com.br>
>Reply-To: xsl-list@lists.mulberrytech.com
>To: xsl-list@lists.mulberrytech.com
>Subject: [xsl] Is a node a first/last child?
>Date: Wed, 25 Jul 2001 17:55:52 -0300
>
>Hey guys,
>
>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


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