Dycode SimpleUBL UBL 2.0 Class Library

ForwardingInstructions.GetValueValidationErrors Method

Validate document by value. If document is not valid, return validation error. If document is valid, return null.

// Check document from stream (Only C++, .NET)

public string GetValueValidationErrors(Stream str, string xslFile);

// Check document from file

public string GetValueValidationErrors(string file, string xslFile);

// Check document from XML string

public string GetValidationErrorsFromXML(string xml, string xslFile);

Parameters

str
XML document stream
file
Full filename, or relative to the current path.
xml
XML document string
xslFile
XSL file location

See Also

ForwardingInstructions Class | Dycode.SimpleUBL | Two-phase validation