Buonasera a tutti!
Ho scritto il seguente codice XSL per estrarre da un mio file XML valido (con relativa XSD) alcune informazioni da formattare come XHTML.
Sotto Internet Explorer 6 funziona senza problemi, sotto Firefox ricevo il seguente errore:codice:<?xml version="1.0" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template match="/"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <title><xsl:value-of select="PlainText/Head/Title"></xsl:value-of></title> </head> <body> <xsl:for-each select="PlainText/Body/Chapter"> <h1><xsl:value-of select="ChapterTitle"></xsl:value-of></h1> <xsl:for-each select="SubChapter"> <h2><xsl:value-of select="SubChapterTitle"></xsl:value-of></h2> <xsl:for-each select="Paragraph"> <xsl:value-of></xsl:value-of></p> </xsl:for-each> </xsl:for-each> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet>
Niente di più... ho scritto qualcosa di errato che posso correggere?codice:Errore nel caricamento del foglio di stile: L'analisi del foglio di stile XSLT è fallita.

Rispondi quotando