Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/11/2007, 10:42
mount
 
Fecha de Ingreso: marzo-2007
Mensajes: 58
Antigüedad: 17 años, 2 meses
Puntos: 0
Re: etiquetas xml

Prueba sustituyendo este código:

Código:
if ( item.getElementsByTagName('ubicacion')[0].firstChild.data == null)
Por este:
Código:
var cell = item.getElementsByTagName('ubicacion')[0];
if (cell.firstChild && cell.firstChild.data)
A ver si hay suerte...