Question
help with XPATH
I am using this expression:
count(../preceding::*[(self::figure)][title]) +1 to count figures
but I would like it to reset when it hits a <wpno> tag which seems doable but I can't get the syntax correct.<wpno> is an inline tag, it doesn't have children.
Thanks in advance!

