Ver Mensaje Individual
  #14 (permalink)  
Antiguo 07/02/2005, 20:51
frijolerou
 
Fecha de Ingreso: diciembre-2003
Mensajes: 1.583
Antigüedad: 20 años, 3 meses
Puntos: 13
Erdosain: justo en ese link que posteas (un poquito más arriba), aparece un truco para enviar el documento como application/xml incluso para internet explorer (por lo menos con xhtml 1.0)... de hecho hice la prueba y efectivamente internet explorer lo recibe como XML...

Independiente de si podemos justificar o no el uso de xhtml.. ¿sabes que tan efectivo puede resultar dicho truco?

Por siacaso el truco es el siguiente:

Agregar esta linea al do umento:

Código:
<?xml-stylesheet type="text/xsl" href="copy.xsl"?>
Y subir el archivo cpoy.xsl que contiene lo siguiente:

Código:
<stylesheet version="1.0"
     xmlns="http://www.w3.org/1999/XSL/Transform">
    <template match="/">
        <copy-of select="."/>
    </template>
</stylesheet>

Nuevo: bueno, sí, ya me dió un par de problemas jejeje:

1-. Internet explorer entra en modo Quirks
2-. Internet Explorer se toma todo el tiempo del mundo en procesar el documento y cargarlo

__________________
El conocimiento es libre: Movimiento por la Devolución