Correct Answer: Parsing the XML document is the only way to validate the XML file Validation is done by either DOM parser or the SAX parser