Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/03/2010, 15:29
gjherrerac
 
Fecha de Ingreso: octubre-2008
Mensajes: 30
Antigüedad: 15 años, 5 meses
Puntos: 0
Respuesta: Problema en Firfox: en html no me lee el xml

Gracias por interesarte, jmdz.
El código, como te decía, es muy simple:

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.  
  4. <xml id="cdcat" src="cd_catalog.xml"></xml>
  5.  
  6. <table border="1" datasrc="#cdcat">
  7. <tr>
  8. <td><span datafld="ARTIST"></span></td>
  9. <td><span datafld="TITLE"></span></td>
  10. </tr>
  11.  
  12. </body>
  13. </html>

Y el XML en cuestión

Código XML:
Ver original
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!-- Edited by XMLSpy® -->
  3. <CATALOG>
  4.     <CD>
  5.         <TITLE>Unchain my heart</TITLE>
  6.         <ARTIST>Joe Cocker</ARTIST>
  7.         <COUNTRY>USA</COUNTRY>
  8.         <COMPANY>EMI</COMPANY>
  9.         <PRICE>8.20</PRICE>
  10.         <YEAR>1987</YEAR>
  11.     </CD>
  12. </CATALOG>

En IExplorer se ve perfecto, pero en Firefox nada. No entiendo por qué.

Gracias nuevamente.