Subject: RE: Counting preceding-siblings with a different parent
From: "Jim Neff" <jneff@xxxxxxxxxxxxxxx>
Date: Thu, 16 Dec 2004 10:38:29 -0500
|
> perhaps you want to count your preceding siblings and your preceding
cousings (ie, the children of your parent's preceding-siblings)
> count(preceding::*) + count(../preceding::*/*)
Yes that was it.
I realized my stupidity of wanting to count sibilings of different parents,
but its still fairly early here and I've only had one cup of coffee.
Thanks David and Michael,
Jim
|