XML issues

I’m trying to get flash to read the XML file generated by blizzard that displays realm status, I want to add this function then to our websites header to display the server info in realtime. Right now I’m having trouble getting it to identify our server.

 
function loadXML(loaded) {
 if (loaded) {
  var i:Number = new Number;
  var realm:String = new String;
 
  i = 0;
  realm = "Burning Legion";
 
  while(this.firstChild.childNodes*.attributes.n != realm){
  _root.realmName = this.firstChild.childNodes*.attributes.n;
  _root.realmStatus = this.firstChild.childNodes*.attributes.s;
  _root.realmPopulation = this.firstChild.childNodes*.attributes.l;
  rName.text = _root.realmName;
  rStatus.text = _root.realmStatus;
  rPop.text = _root.realmPopulation;
  i++
  }
 } else {
  trace("file not loaded!");
 }
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("http://www.worldofwarcraft.com/realmstatus/status.xml");

Is the actionscript I’m using, with 3 text fields on the stage for now. As of right now it finds Burning Blade, which is the server listed before Burning Legion, which leads me to believe that it’s breaking at the space in the string. I’ve tried using the & code   for the space, but it hops in an infinite loop and then crashes. Thoughts?

Edit: Added the FLA