I'm guessing you are running a pre-MX version of CF. Any reason you
aren't using the cfx_xmlParser?

Adam Wayne Lehman
Web Systems Developer
Johns Hopkins Bloomberg School of Public Health
Distance Education Division


-----Original Message-----
From: Bud [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 05, 2003 1:38 PM
To: CF-Talk
Subject: RE: Character Encoding - Reward Offered!

On 2/5/03, Adrocknaphobia Jones penned:
>Ok here are a couple of shots in the dark. Does the XML have the
correct
>encoding? <?xml version="1.0" encoding=" iso-8859-1"?>

Well, that's what it says. Whether it's correct or not is another story.
:)

>  How are you
>pulling the XML in? From a local file? Or cfHttp?

CFOBCJECT

<cfobject name="objXMLHTTP" class="microsoft.xmlhttp" action="create" 
type="COM">
<cfscript>
XMLDataString = XMLRequestAccess & XMLRequest;
temp = 
objXMLHTTP.open("POST","https://#Attributes.Servername##attributes.serve
rpath#",false);
temp = objXMLHTTP.setRequestHeader("Content-Type", 
"application/x-www-form-urlencoded");
temp = objXMLHTTP.send(XMLDataString);
XMLResponse = objXMLHTTP.responsetext;
</cfscript>

>I've never tried this but, if you can tell CF the HTML content with:
><cfcontent type="text/html; charset=iso-8859-1">
>Can you do this?
><cfcontent type="text/xml; charset=iso-8859-1">

Not sure, but I'm spitting out html, not XML so that won't apply here 
I don't believe.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to