Click or drag to resize

XmlValidatorIsXmlValid Method

Validates the XML file against a schema.

Namespace:  SRS.ShiftSolver.Tools
Assembly:  ShiftSolver (in ShiftSolver.dll) Version: 2.2.0.0
Syntax
public static bool IsXmlValid(
	string xmlFileName,
	string schemaFileName
)

Parameters

xmlFileName
Type: SystemString
The XML file to validate.
schemaFileName
Type: SystemString
The schema file to validate the XML against.

Return Value

Type: Boolean
True if the XML is valid, false otherwise.
Remarks
All error messages are sent to the ErrorLogger.Log() method.
See Also

www.staffrostersolutions.com | support