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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--