XmlParse (xmlString [, caseSensitive]) 


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


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

Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net