Before cleaning the xml check with xsd