Transmitter5SetSchemasLocation Method
Set (optional) external XSD schemas location.
Namespace: SwissDecTXAssembly: SwissDecTX.Transmitter5 (in SwissDecTX.Transmitter5.dll) Version: 5.0.0.0 (5.0.0.0)
public void SetSchemasLocation(
string schemasPathName
)
Public Sub SetSchemasLocation (
schemasPathName As String
)
public:
virtual void SetSchemasLocation(
String^ schemasPathName
) sealed
function SetSchemasLocation(schemasPathName);
Parameters
- schemasPathName String
- The fully qualified pathname of the folder where the XSD schemas to be used to validate XML documents are stored.
The specified folder can be empty, or contain any number of XSD schemas. SwissDecTX will load all schemas found in this folder (using *.xsd) and validate outgoing and incoming messages against them. It is not necessary to call this method for normal use. SwissDecTX uses an internal schema set to perform validation, use only to test special schema configuration, or point to an empty folder to disable validation (not recommended).