Ver Mensaje Individual
  #11 (permalink)  
Antiguo 11/07/2006, 15:37
rocamo
 
Fecha de Ingreso: julio-2006
Mensajes: 10
Antigüedad: 17 años, 10 meses
Puntos: 0
De acuerdo Si funciona

Lo mas probable es que tengas problema con tu xml, ya que cuando esa mal hecho el sistema no lo reconoce
aca te muestro un ejemplo en donde

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<INICIO>
<ENCABEZADO>
<ID_SESION>19</ID_SESION>
</ENCABEZADO>
<ENCABEZADO>
<ID_SESION>20</ID_SESION>
</ENCABEZADO>
</INICIO>


var xml = oXML.responseXML.documentElement;
document.write('<table>');
for (i = 0; i < xml.getElementsByTagName('ENCABEZADO').length; i++){
var item = xml.getElementsByTagName('ENCABEZADO')[i];
var id = item.getElementsByTagName('ID_SESION')[0].firstChild.data;
}