Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.12 KB

File metadata and controls

36 lines (23 loc) · 1.12 KB

Function: XMLValidate

Uses a Document Type Definition (DTD) or XML Schema to validate an XML text document or an XML document object.

Returns keys status (boolean), errors (array), fatalerrors (array) and warnings (array)

Method Signature

XMLValidate(XML=[any], validator=[string])

Arguments

Argument Type Required Description Default
XML any true The XML text document or XML document object to validate.
validator string false The DTD or XML Schema to use for validation. If not provided, the DTD declaration within the XML document is used.

Examples

Related