cia a tutti ... firefox mi da errore con il seguente xml a cui è associato un xsl. posto i due codici. Ecco l'xml:
ed ecco l'xsl:codice:<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="stile.xsl"?> <tabella name="prova"> <riga n="1"> <cella>fab</cella> <cella>text</cella> <cella>los angeles</cella> </riga> <riga n="2"> <cella>paolo</cella> <cella>pink</cella> <cella>bunker hill</cella> </riga> <riga n="3"> <cella>arturo</cella> <cella>bandini</cella> <cella>bunker hill</cella> </riga> <riga n="4"> <cella>tommy</cella> <cella>posc</cella> <cella>hollywood</cella> </riga> </tabella>
firefox dice: Errore nel caricamento del foglio di stile: L'analisi del foglio di stile XSLT è fallita.codice:<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/transform"> <xsl:template match="/tabella"> <table> <xsl:apply-templates/> </table> </xsl:template> <xsl:template match="riga"> <tr border="1"> <xsl:apply-templates/> </tr> </xsl:template> <xsl:template match="cella"> <td> <xsl:apply-templates/> </td> </xsl:template> </xsl:stylesheet>
che mi dite?

Rispondi quotando