[xsl] Get position of parent

Subject: [xsl] Get position of parent
From: "Philip Vallone" <philip.vallone@xxxxxxxxxxx>
Date: Sat, 17 Jan 2009 08:42:15 -0500
Hello List,

What is the best way to get the position of a parent node? In the below xml,
assume my context node is para:


If my context node is para, how do I get the position of its parent entry?

<table frame="all" align="center" id="C-TABLE3" width="90%">
	<tgroup cols="3">
		<colspec colnum="1" colname="spycolgen1" colwidth="*"/>
		<colspec colnum="2" colname="spycolgen2" colwidth="*"/>
		<colspec colnum="3" colname="spycolgen3" colwidth="*"/>
					<!--get position of parent::entry-->
					<para id="table3-para 1">context


Current Thread