Lucee Function Reference

Function XMLPARSE

Converts an XML document that is represented as a string
variable into an XML document object.

Example

xmlparse(string xmlString,[boolean caseSensitive,[string validator]]):xml

Category

XML

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
xmlString string  Yes Any of the following:  
caseSensitive boolean  No Maintains the case of document elements and attributes.
Default: false  
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