How can I retrieve the position of the current Para?
<xsl:template match="Para">
<xsl:variable name="PositionInDocument" select="What do I do here?" />
</xsl:template>
This is the xml document:
<QuestionStem>Question </QuestionStem>
<Para>This is my paragraph question.</Para>
<Para>Thisis another para for question.</Para>
<AnswerListItem>Answer</AnswerListItem>
<Para>This is my answer paragraph</Para>
<Para>This is another answer paragraph</Para>
<SubAnswerBulleted>Sub Answer Bulleted</SubAnswerBulleted>
<Para>This is a paragraph that is part of a sub answer.</Para>
<SubSubAnswerNumbered>Sub Sub Answer Numbered</SubSubAnswerNumbered>
<Para>This is a paragraph that is part of a sub sub answer.</Para>
<SubSubAnswerNumbered>Sub Sub Answer</SubSubAnswerNumbered>
<SubSubAnswerNumbered>Sub Sub Answer</SubSubAnswerNumbered>
<SubAnswerBulleted>Sub Answer Bulleted</SubAnswerBulleted>
<SubAnswerBulleted>Sub Answer</SubAnswerBulleted>