Tested Xalan XSLTC(CVS 20040106 + Patches for last() Bug 24782) with Jrockit
1.4.2 and found:
In the following example only one row tag is processed when there is another
loop inside the 'row' loop.
XML:
<?xml version="1.0" encoding="ISO-8859-1"?>
<grid-group>
<row/>
<row/>
</grid-group>
XSL:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="ISO-8859-1" doctype-public="-
//W3C//DTD HTML 4.01 Transitional//EN"/>
<xsl:template match="grid-group">
<xsl:for-each select="row">
<tr>
<xsl:for-each select="cell"/>
</tr>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
Output:
<tr></tr>