Tema: nodos xml
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/03/2005, 13:09
Avatar de TMeister
TMeister
Crazy Coder
 
Fecha de Ingreso: enero-2002
Ubicación: En la Oficina
Mensajes: 2.880
Antigüedad: 22 años, 3 meses
Puntos: 193
no se como creas tu array pero aqui te dejo un ejemplo parseando cada nodo

Código:
var myXml:XML = new XML();
myXml.ignoreWhite = true;
myXml.load("data.xml");
myXml.onLoad = function() {
	nodo = this.firstChild;
	dPersonales = nodo.childNodes[0];
	trace(dPersonales);
	otrosDatos = nodo.childNodes[1];
	trace(otrosDatos);
	dInterfaz = otrosDatos.childNodes[0];
	trace(dInterfaz);
	dAvatar = otrosDatos.childNodes[1];
	trace(dAvatar.attributes.imagen);
};