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

ArgumentTypeRequiredDescriptionDefault

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

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC