Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/11/2004, 15:19
Avatar de Musika
Musika
 
Fecha de Ingreso: junio-2002
Mensajes: 72
Antigüedad: 21 años, 11 meses
Puntos: 0
corregido pero ahora no lo veo

resulta ke en el explorer veia perfectamente las tablas del xsl..pero ahora al actualizarlo.. se ve el codigo interno y no las tablas...

ke hice mal???

coloco el codigo

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="/">
- <html>
- <body>
<h1>Profesores</h1>
- <table border="1" >
- <tr>
<th>Nombre</th>
<th>Apellido</th>
<th>email</th>
<th>web</th>
<th>foto</th>
</tr>
<tr>datos</tr>
<xsl:apply-templates select="/Profesores/teacher" />
</table>
</body>
</html>
</xsl:template>
- <xsl:template match="teacher">
- <tr>
<xsl:apply-templates select="nombre|apellido|email|web|datos|foto" />
</tr>
</xsl:template>
- <xsl:template match="nombre|apellido|email|web|datos|foto">
- <td>
<xsl:apply-templates />
</td>
</xsl:template>
</xsl:stylesheet>
__________________
La mejor forma de enseñar es aprendiendo
------------------------------------------------
Un pokitin de Musika en tu Vida

Última edición por Musika; 26/11/2004 a las 15:30