Tema: xsl
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/11/2005, 12:56
soultk
 
Fecha de Ingreso: marzo-2005
Mensajes: 24
Antigüedad: 19 años, 2 meses
Puntos: 0
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