Subject: RE: Re: xsl-list Digest 22 Mar 2005 06:10:01 -0000 Issue 364
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 22 Mar 2005 16:05:50 -0000
|
> <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/
|