Patrick,
this is what I ended up with.
count(preceding-sibling::my:Sheet/my:Children/my:Child_Headings/my:Child/my:fldCNumber) + 1
I still received "preceding-sibling::my:Sheet/my:Children/my:Child_Headings/my:Child/my:fldCNumber" does not point to a valid location path of a field or group
Thanx