Creates a CFML XML document object that contains the
markup in the tag body. This tag can include XML and CFML tags.
CFML processes the CFML code in the tag body, then assigns
the resulting text to an XML document object variable.
<cfxml variable="">
cfxml(variable="");
false
Creates a new CFML XML document object.
cfxml( variable="myXml" ) {
writeOutput( '<?xml version="1.0"?><catalog><song id="1"><artist>Astley, Rick</artist><title>Never Gonna Give You Up</title></song></catalog>' );
}
writeDump( myXml );
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.