Clearing the xml before formatting.<JD>