Add a Doctype declaration to an XML file

You can now add extra lines above the root. See: