Railo 4.2 Reference
Choose a function:


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


xmlvalidate(string xmlDoc,[string validator]):struct


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 string  No Any of the following:
- A string containing a DTD or Schema.
- The name of a DTD or Schema file.
- The URL of a DTD or Schema file; valid protocol identifiers include http, https, ftp, and file.