Remove xml tag before doctype declaration