Comunidad de diseño web y desarrollo en internet online

Ayuda urgente con xml

Citar            
MensajeEscrito el 06 Mar 2006 02:40 pm
tengo un problema tengo un codigo lo que esta en alert que esta en negrita me saca el dato que quiero pero cuando lo meto dentro del for [i] no se donde colocar el contador ya que lo puse en diferentes parte y no me muestra el dato alguien me puede ayudar.........la ectructura del xml

roots
root
monbre
root

root
monbre
root
roots

function myOnLoad(success:Boolean) {
if (success) {
var rootNode:XMLNode = this.firstChild;
var a:Array = XPath.selectNodes(this, '//root');
Alert.show(XPath.selectSingleNode( rootNode.firstChild,"Nombre").firstChild.nodeValue)
for (i=0; i < a.length;i++){

datosProcesos.addItem({ Nombre: XPath.selectSingleNode( rootNode.firstChild,"Nombre")[i].firstChild.nodeValue });
}

Por zerocool2362

6 de clabLevel



Genero:Masculino  

msie
Citar            
MensajeEscrito el 06 Mar 2006 03:28 pm
Por más urgente que sea tu pregunta, por favor NO repitas el mismo post.
Continua el hilo Aquí
Cerrado

Por Zarzamora

BOFH

3056 de clabLevel

3 tutoriales
12 articulos

 

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.