myXml.onLoad = function(ok){ trace( 'ok:' + ok + ' status:' + this.status ); trace(this.firstChild.childNodes.join('\n')); } myXml.load( ... );