RE: ancestor counting

Subject: RE: ancestor counting
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 22 Sep 2000 13:55:57 +0100
> So actually I want to know how many ancestors the branch has got.

count(ancestor::*) to give all the ancestor elements
count(ancestor::branch) to give all the ancestor branch elements
count(ancestor::node()) to give all the ancestor nodes, including the root

Mike Kay


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


Current Thread