Fixes for IE9: dataFromXML function takes care of walking through XML