<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.

Usage

<cfxml
    variable=string
    [validator=string]
    [casesensitive=boolean]
><!--- body ---></cfxml>

This tag must have a body.

This tag is also supported within cfscript

Attributes

Attribute Description
variable
(string, required)

name of an xml variable

validator
(string, optional)

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

casesensitive
(boolean, optional)

if set to true maintains the case of document elements and attributes

Examples

There are currently no examples for this tag.