Ciao a tutti,
volevo chiedervi ma si puo usare il for-each nidifcato??
codice:<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <table border="0"> <tr bgcolor="#9acd32"> <th>ID</th> <th>Desc</th> </tr> <xsl:for-each select="level"> <tr><td><xsl:value-of select="@ID"/></td></tr> <tr><td>-</td></tr> <xsl:for-each select="level/row"> <tr> <td>#</td> <td><xsl:value-of select="Desc"/></td> </tr> </xsl:for-each> </xsl:for-each> </table> </body> </html> </xsl:template> </xsl:stylesheet>