Click or drag to resize

XmlValidatorIsXmlStringValid Method

Validates the XML string against a schema.

Namespace:  ASAP.NRP.Core.Tools
Assembly:  NRP (in NRP.dll) Version: 3.49.0+539d3dcf73518163e952c8abb92256bf56ba5029
Syntax
public static bool IsXmlStringValid(
	string xmlString,
	string schemaFileName
)

Parameters

xmlString
Type: SystemString
The XML string 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