Using the following code I am getting an error complaining of no destination specified for the UPLOAD, but in this case what would this be as I am not uploading the XML file to a location but to a variable to process
<form action="parse.cfm" ENCTYPE="multipart/form-data" method="post" name="form"> <input type="file" name="UploadFile"> <p> <input type=submit name="submit" value="Upload Document"> </form> And my action page of <body> <cffile action="UPLOAD" filefield="Form.UploadFile"> <CFSET MyXML = XmlParse(#Uploadfile#)> <CFSET xnBuildingRecord = MyXML.XMLRoot> <CFSET xnSchemeUniqueRecordIdentifier = xnBuildingRecord.XMLAttributes["name"]> <CFOUTPUT> <P>The Number is #xnSchemeUniqueRecordIdentifier#</P></CFOUTPUT> </body> </html> -----Original Message----- From: Stephen Moretti (cfmaster) [mailto:[EMAIL PROTECTED] Sent: 26 January 2005 15:31 To: CF-Talk Subject: Re: Using Coldfusion with XML Ian Vaughan wrote: >Yes taking the XML doc and parsing the information stored within into a >database table. > > ok - in which case - I refer you to point 3 of my previous email.... >If you actually need to do something with the XML data in CF, but only >need the CSV as a means of getting the data into CF, then xml2query >will cut out the CSV middle-man giving you something easier to work with in CF. > You can then use the query thats been created from the xml to insert the data into your database. Regards Stephen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191820 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54