Inside Coldfusion MX

"-->

XmlParse (xmlString [, caseSensitive])

Description

Converts an XML document that is represented as a string variable into an XML document object.

Example

In this example we use an XML file that is located on the test server; to try using this function, simply point the cffile to an xml file that exists on your server.

<cffile action="read" file="e:\cfusionmx\wwwroot\xml\users.xml" variable="XMLFileText"> <!--- XMLParse function turns our text into a XML document object or ColdFusion Structure ---> <cfset ExampleDocument=XmlParse(XMLFileText)> <cfdump var=#ExampleDocument#>

Категории