Re: [xsl] Retrieving the position of an ancestor in nested <xsl:for-each>

Subject: Re: [xsl] Retrieving the position of an ancestor in nested <xsl:for-each>
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 4 May 2004 12:14:21 +0100
   <xsl:for-each select="Node">
	   ...
<xsl:variable name="x" select="position()"/>
	   <xsl:for-each select="SubNode">
		   Position of Node: <xsl:value-of select="??????????"/> <!-- How will I get 
                        the position of the anchestor -->
<xsl:value-of select="$x"/>

David


-- 
The LaTeX Companion
  http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996
  http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread