Any of the following: - A string containing an XML document. - The name of an XML file. - The URL of an XML file; valid protocol identifiers include http, https, ftp, and file. - An XML document object, such as one generated by the XmlParse function.
Any of the following: - A string containing a DTD or Schema. - The name of a DTD or Schema file. - The URL of a DTD or Schema file; valid protocol identifiers include http, https, ftp, and file. If this argument is omitted the xml document must have a !DOCTYPExsi:schemaLocation or xsi:noNamespaceSchemaLocation tag pointing to the DTD or schema location.
Examples sample code invoking the XMLValidate function
Validate against an XML Schema
Validates that note.xml is valid according to the scheama note.xsd