Ciao!! ho un problema di trasformazione di un documento xml quando applico un qualsiasi foglio xsl. il codice dell'xml è il seguente:
codice:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE TEI SYSTEM "otello.dtd"> <?xml-stylesheet type="text/xsl" href="Document1.xsl"?> <TEI xmlns="http://www.tei-c.org/ns/1.0"> <teiHeader> <fileDesc> <titleStmt> <title>Otello: versione elettronica</title> <respStmt><resp>Conversione TEI a cura di</resp><name>Carmela Cinquesanti</name></respStmt> <respStmt><resp xml:id="gr">Traduzione a cura di</resp> <name>Goffredo Raponi</name></respStmt> </titleStmt> <publicationStmt><publisher>Università di Pisa</publisher> <date>11-07-2011</date> </publicationStmt> <sourceDesc> <bibl><title>Otello</title><author>William Shakespeare</author></bibl></sourceDesc> </fileDesc> <encodingDesc> <metDecl type="met" pattern="(UUUSUUUUUSU/) | (UUUUUSU/)"> <metSym value="S">stressed syllable</metSym> <metSym value="U">unstressed syllable</metSym> <metSym value="/">metrical line boundary</metSym> </metDecl> </encodingDesc></teiHeader></TEI>
Ed ecco il codice xsl che provo ad applicare:
codice:
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html"/> <xsl:template match="/">  <xsl:value-of select="TEI/teiHeader/fileDesc/sourceDesc/bibl/title"/>   <xsl:value-of select="TEI/teiHeader/fileDesc/sourceDesc/bibl/author"/>  </xsl:template> </xsl:stylesheet>
Ciò che mi restituisce è praticamente il foglio bianco...
Qualcuno può darmi una mano?