<!--CALL THE NODESET AND GROUP IT INSIDE THIS TEMPLATE-->
<xsl:for-each select="msxsl:node-set($base)/item[generate-id(.)=generate-id(key('GROUP',Supplier))]">
<totale_finale>600</totale_finale>
test
</xsl:for-each>
<xsl:template >
in this case (it is a test)
the page is blank...
I suppose the problem is the key declaration outside the template
<xsl:key name="GROUP" match="item" use="Supplier"/>
Infact use Supplier is inside the source xml but also in the variable $base
How can i use a key declaration with a variable node-set ?