function xmlOnLoad( ok ){ if( !ok || this.status < 0 ){ return; } var node = this.firstChild.firstChild; while( node != null ){ trace( node.toString() ); trace( '--------------' ); node = node.nextSibling; } }