ie9 xml parsing fix

textContent does not exist in ie9.