Ciao,
il tuo esempio copiato pari pari sul mio server funzionava senza problemi.
Prova a mettere:
codice:
<!ENTITY ugrave "-&-#-2-4-9-;-">
(togli i trattini altrimenti il codice viene trasformato dal tuo browser)
se poi non funziona ancora, prova con questa trasformazione, che a me avviene correttamente:
file xml:
codice:
<?xml version="1.0" encoding="UTF-8"?>
<news>
<post>
<id>1</id>
<titolo>Menù Informatica</titolo>
<data sort="20100504">04/05/2010</data>
<testo>Menù di esempio</testo>
</post>
</news>
file xsl:
codice:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp "-&-#-1-6-0-;">
<!ENTITY copy "-&-#-1-6-9-;">
<!ENTITY reg "-&-#-1-7-4-;">
<!ENTITY trade "-&-#-8-4-8-2-;">
<!ENTITY mdash "-&-#-8-2-1-2-;">
<!ENTITY ldquo "-&-#-8-2-2-0-;">
<!ENTITY rdquo "-&-#-8-2-2-1-;">
<!ENTITY pound "-&-#-1-6-3-;">
<!ENTITY yen "-&-#-1-6-5-;">
<!ENTITY euro "-&-#-8-3-6-4-;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Untitled Document</title>
</head>
<body>
<xsl:value-of select="news/post/titolo"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
(togli i trattini altrimenti il codice viene trasformato dal tuo browser)
Ciao.