<xsl:for-each select="webapps/applications/application">
<xsl:variable name="curid" select="id" />
<xsl:for-each
select="webapps/applications/application/users/user">
The outer for-each makes the "application" element the context node. The
second for-each (as well as the expression in the select attribute of
xsl:variable) must make a selection starting from the application element:
probably select="users/user".
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--