RE: [xsl] position() and last() problem

Subject: RE: [xsl] position() and last() problem
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 8 Jan 2003 18:28:41 -0000
> That means each <view>-element can contain an undefined 
> number of other <view>s. What I want to know is whether the 
> parent of a <view> - if it is also the view - is the last one.

By "the last one" I assume you mean that it has no following siblings?

Then you want:

<xsl:if test="parent::view[not(following-sibling::view)]">

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread