Lucee Tag Reference
<cfxml>
Creates a CFML XML document object that contains the markup in the tag body. This tag can include XML and CFML tags.
Lucee processes the CFML code in the tag body, then assigns the resulting text to an XML document object variable.
Body
This tag must have a body.
Example
<cfxml [casesensitive=boolean] [lenient=boolean] [validator=string] variable=string> </cfxml>
This tag is also supported within cfscript
<cfscript> xml [casesensitive=boolean] [lenient=boolean] [validator=string] variable=string { [...] } </cfscript>
Attributes
The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
Name | Type | Required | Description |
---|---|---|---|
casesensitive | boolean | No | if set to true maintains the case of document elements and attributes |
lenient | boolean | No | if set to true, the parser is more lenient and forgives invalid XML and does the best to interpret it. |
validator | string | No | Any of the following: |
variable | string | Yes | name of an xml variable |