Tags · Functions · Objects
Lucee Tag Reference
Choose a tag:

Tag <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"]
		[validator="string"]
		variable="string">

	</cfxml>
This tag is also supported within cfscript
	<cfscript>
		xml
		[casesensitive="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 
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 
  • variable string Yes name of an xml variable