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 |
- ancestor counting
- Ronald - Fri, 22 Sep 2000 11:38:30 +0200
- <Possible follow-ups>
- Kay Michael - Fri, 22 Sep 2000 13:55:57 +0100 <=
|
|