Module: Editor
Version: 18.01 +
Description
The formula ‘IsValidXml’ checks whether an xml string is valid according to an xsd schema.
Parameters
Xsd file: The full path to an Xsd file that is used to validate the xml string.
Xml string: The Xml string to be validated
Namespace:
The namespace of the Xml. If omitted (that is, an empty string is defined), the (default) target namespace of the Xsd file is used. This behavior is often sufficient.
Example
Description
Suppose you want to validate this xml string:
8
against this Xsd file, which is located in 'C:\temp\check.xsd':
Values parameters
Xsd file:
C:\temp\check.xsd
Xml string:
8
Namespace:
http://www.ActuIT.nl/Futurama/WebService/Faculteit or empty string
Result
Result: true
External Links
- W3Schools: XML Schema Tutorial
Feedback
If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.