x = new XML(); x.ignoreWhite = true; x.onLoad = function() { trace(this.firstChild); } x.load('http://localhost/xml_output.php');