Caracteres en XSLT

17/09/2003 - 18:51 por enrique | Informe spam
Cómo se puede añadir el caracter ñ,Ñ,á,é, etc a una
página XSTL y que no dé error de validación ?

Si pongo esto

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">

<xsl:template match="/">
<html>
<head>
<title>xxx
</title>
</head>

<body bgcolor="#669999" text="#FFFFFF">

<form action="agenda.asp?mode=adddetail" method="post">
<h3>
<![CDATA[Agenda. Añadir Contacto ]]>
</h3>
</form>

<br/><br/>


</body>
</html>


</xsl:template>
</xsl:stylesheet>


me falla.


Muchísimas gracias
 

Leer las respuestas

#1 Patrick Espinosa
17/09/2003 - 19:11 | Informe spam
Guarda también el encoding respectivo:

<?xml version="1.0" encoding="ISO-8859-1"?>

Saludos
Patrick Espinosa

"enrique" wrote in message
news:034c01c37d3b$f9c31500$
Cómo se puede añadir el caracter ñ,Ñ,á,é, etc a una
página XSTL y que no dé error de validación ?

Si pongo esto

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">

<xsl:template match="/">
<html>
<head>
<title>xxx
</title>
</head>

<body bgcolor="#669999" text="#FFFFFF">

<form action="agenda.asp?mode=adddetail" method="post">
<h3>
<![CDATA[Agenda. Añadir Contacto ]]>
</h3>
</form>

<br/><br/>


</body>
</html>


</xsl:template>
</xsl:stylesheet>


me falla.


Muchísimas gracias

Preguntas similares