Util#removeXMLPreamble method