xsl-list
[Top] [All Lists]

RE: Re: xsl-list Digest 22 Mar 2005 06:10:01 -0000 Issue 364

2005-03-22 09:05:50
      <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>
--~--