Given the schema below - with a "query" node as the context, is it possible with xpath/xslt to determine the index of that "query" node relative to all "query" nodes in the document (not position() relative to its immediate siblings).
TIA,
Geoff
<section>
<name>About</name>
<link>about</link>
<questions>
<question>
<query>Question 1</query>
<answer>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In cursus, elit id lacinia semper, ligula nunc rhoncus ante, in euismod tortor nibh dictum tellus.</answer>
</question>
</questions>
</section>
<section>
<name>Contact</name>
<link>contact</link>
<questions>
<question>
<query>Question 1</query>
<answer>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In cursus, elit id lacinia semper, ligula nunc rhoncus ante, in euismod tortor nibh dictum tellus.</answer>
</question>
<question>
<query>Question 2</query>
<answer>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In cursus, elit id lacinia semper, ligula nunc rhoncus ante, in euismod tortor nibh dictum tellus.</answer>
</question>
</questions>
</section>