Converts an XML document that is represented as a string
variable into an XML document object.
Lucee Function Reference
xmlparse()
Example
xmlparse(string xmlString,[boolean caseSensitive,[any validator,[boolean lenient]]]):xml
Category
XML
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Default Value | Description |
|---|---|---|---|---|
| xmlString | string | Yes | Any of the following: | |
| caseSensitive | boolean | No |
Maintains the case of document elements and attributes. Default: false |
|
| validator | any | No |
Any of the following: |
|
| lenient | boolean | No | false | if set to true, the parser is more lenient and forgives invalid XML and does the best to interpret it. |