xsl-list
[Top] [All Lists]

RE: Walking the tree

2003-08-14 08:22:00
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



<Prev in Thread] Current Thread [Next in Thread>