update xml for newer libxml2

the empty tag writer changed syntax