I use the following code on both CF4.5 and CF5:

<CFSET XMLDataString = "<?xml version=""1.0"" 
encoding=""UTF-8""?><Request><username>douglas</username></Request>">
 
<CFHTTP URL="http://myserver/XMLtest.cfm"; METHOD="POST">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="Request" VALUE="#XMLDataString#">
</CFHTTP>
 
<CFOUTPUT>#cfhttp.filecontent#</CFOUTPUT>

where XMLtest.cfm just outputs FORM.Request. In CF4.5 I get nicely formatted XML text 
in my browser (IE) as expected. 
In CF5 I just get "douglas". So I tried using XMLFormat(XMLDataString) and I get the 
full XML string output (but not formatted the way it should which means that IE 
doesn't recognise it as XML). 

So my question is: How do I get formatted XML using CFHTTP on CF5?

Any help much appreciated.

TIA
Douglas

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to