Validate the XML document using XDR or XSD schema. Specify the XML document and the XDR or XSD schema to be used to validate the XML document, and see if the source XML document adheres to the specified structure and constraints, making it a valid XML document. This tool uses MSXML XMLSchemaCache class and the validate method to check if the XML document is valid.