>e che me li renda disponibili per vari campi
>di testo e non per uno solo..
codice:mio_xml = new XML(); mio_xml.path = this; mio_xml.ignoreWhite = true; mio_xml.onLoad = function(success) { if(success){ var node = this.firstChild.firstChild.nodeValue; this.path.campo1 = node; this.path.campo2 = node; this.path.campo3 = node; } else { this.path.campo1 = "Dati mancanti"; } }; mio_xml.load("dati.xml");

Rispondi quotando