Salve a tutti ho il seguente problema:
Non riesco a far si che l'xsl generi una riga ogni 4 colonne...ecco il codice da me prodotto fin'ora...avete qualche idea in merito?
thnx a tutticodice:<?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" omit-xml-declaration="yes"/> <xsl:template match="/"> <html> <head> <title>Charme Cards</title> </head> <body> <table width="100%" border="1" cellpadding="5" cellspacing="0" bordercolor="#000000"> <xsl:apply-templates select="/dati/charme" /> </table> </body> </html> </xsl:template> <xsl:template match="charme"> <tr> <td width="25%"> Nome Charme: <xsl:value-of select="nome_charme" /> Pagina Manuale: <xsl:value-of select="pagina" /> Costo: <xsl:value-of select="costo" /> Durata: <xsl:value-of select="durata" /> Tipo: <xsl:value-of select="tipo" /> <xsl:value-of select="ab_min" /> minimo: <xsl:value-of select="val_min" /> Charme Prerequisiti: <xsl:value-of select="charme_prerequisiti" /> Descrizione: <xsl:value-of select="descrizione" /> </td> </tr> </xsl:template> </xsl:stylesheet>
byeeeeeez


Rispondi quotando