XML helper routines
Checks that an XML file is valid against a specified XSD
File path to XML file as referenced by calling application
File path to XSD file as referenced by calling application
true if checked successfully
Will throw an error if the XML file does not validate. The error messages describes the reason for the failure.
Parses an XLSX file to an array of rows containing an array of columns
The path to the file
The sheet number to read, defaults to sheet 1
Parses an XML string into a JSON object using the xml2js library
File path to XML file as referenced by calling application
Options to xml2js libraryhttps://www.npmjs.com/package/xml2js
the JSON object containing the parsed string
Will throw an error if the XML string cannot be parsed.