gracias era simplemente eso, ahora lo compruebo con xmlSpy y me dice que esta ok, pero a la hora de mostrarlo por el explorador no sale
Cannot view XML input using XSL style sheet
y si es en firefox me da un error al cargar la hoja de estilo
ejemplo.xml
Código:
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet href="ejemplo.xsl" type="text/xsl"?>
<alumno>
<nombre>Manuel</nombre>
<telefono>234567</telefono>
</alumno>
ejemplo.xsl
Código:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Transform">
<xsl:template match='/'>
<html>
<head>
<title>Codigo Generado</title></head>
<body>
<h1><xsl:apply-templates /></h1>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
no entiendo porke XMLSpy dice ke todo esta bien
Gracias de antemano