[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Walking the tree


Subject: RE: [xsl] Walking the tree
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 14 Aug 2003 16:22:00 +0100

> > try
> > 
> > 
> > <xsl:when test="../../child::node()[postion()=last()]">
> > .....
> > <xsl:when>
> > 

That tests whether the grandparent has a last child, which is the same
as testing whether the grandparent has a child, which is always true, or
it wouldn't be a grandparent.

Michael Kay


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



Current Thread