[xsl] find out if my parent is the last sibling

Subject: [xsl] find out if my parent is the last sibling
From: Jan Limpens <jan.limpens@xxxxxxxxx>
Date: Sat, 28 Aug 2004 17:12:08 -0300
hi,

I appreciate a lot all the help I receive in this group! And wonder if
somebody could give me a hint on this one:

consider a structure

parent
   child
   child
parent
   child
   child
   child

for the child it is easy to find out if it is the last in the row, 
<xsl:if test="position()=last()">*</xsl:if>
but how can a child know this about it's parent?

thanks!

-- 
Jan Limpens
http://www.limpens.com

Current Thread