Browser agnostic XML parsing