-----Original Message-----
From: Andreas L. Delmelle
<snip />
it seems as if you just want the count of *all* preceding ITEM elements
satisfying the stated condition, which would be
count( preceding::PARA0[TITLE!='Raging River']/STEP1/ITEM )
Hmm. On second though, this would seem to be even more adequately
representing the logic of what you're trying to do
count( preceding::ITEM[ancestor::PARA0[TITLE!='Raging River']] )
Cheers,
Andreas
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list