Lucee Function Reference
xmlvalidate()
Uses a Document Type Definition (DTD) or XML Schema to validate an XML text document or an XML document object.
Example
xmlvalidate(string xmlDoc,[any validator]):struct
Category
XML
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Description |
|---|---|---|---|
| xmlDoc | string | Yes | The XML to validate |
| validator | any | No |
Any of the following: |