new xml, hopefully without encoding errors