The XML validator supports the following function:
xml: string xsdURL: string Return: 0 if validated correctly, otherwise -1.
Validate the given xml using the xsd document located at xsdURL.