Re: CFHTTP within CFC issue..

2006-11-03 Thread J W
XMLparse worked like a charmer... I am also on CFMX6.1 so CFXML didn't work for me to begin with.. Thanks guys for all your input.. J On 11/1/06, Dave Watts [EMAIL PROTECTED] wrote: I just tried this and it works fine for me: !--- Create XML Doc. --- cfxml variable=xmlData dude

RE: CFHTTP within CFC issue..

2006-11-01 Thread Ben Nadel
Call me crazy, but how are you testing this? It's possible that in one view you are only seeing the text because it things the XML is HTML markup and does not show up. Try looking at the SOURCE of that page. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer

Re: CFHTTP within CFC issue..

2006-11-01 Thread Charlie Griefer
Ben you so crazy On 11/1/06, Ben Nadel [EMAIL PROTECTED] wrote: Call me crazy, but how are you testing this? It's possible that in one view you are only seeing the text because it things the XML is HTML markup and does not show up. Try looking at the SOURCE of that page.

RE: CFHTTP within CFC issue..

2006-11-01 Thread Ben Nadel
: CFHTTP within CFC issue.. Ben you so crazy On 11/1/06, Ben Nadel [EMAIL PROTECTED] wrote: Call me crazy, but how are you testing this? It's possible that in one view you are only seeing the text because it things the XML is HTML markup and does not show up. Try looking at the SOURCE

Re: CFHTTP within CFC issue..

2006-11-01 Thread J W
That was it. Its being interpreted on output to the browser. Weird but probably exactly whats expected.. Brings up another weird issue which may or may not be related to this. Inside the CFC I am trying to take the XML that I get back from CFHTTP call and parse it using CFXML. When I try to

RE: CFHTTP within CFC issue..

2006-11-01 Thread Ben Nadel
: CFHTTP within CFC issue.. That was it. Its being interpreted on output to the browser. Weird but probably exactly whats expected.. Brings up another weird issue which may or may not be related to this. Inside the CFC I am trying to take the XML that I get back from CFHTTP call and parse it using CFXML

RE: CFHTTP within CFC issue..

2006-11-01 Thread Dave Watts
Brings up another weird issue which may or may not be related to this. Inside the CFC I am trying to take the XML that I get back from CFHTTP call and parse it using CFXML. When I try to cfoutput the cfhttp.FileContent into the CFXML tags I get XML declaration may only begin entities error

RE: CFHTTP within CFC issue..

2006-11-01 Thread Ben Nadel
Help? www.bennadel.com/ask-ben/ -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 4:57 PM To: CF-Talk Subject: RE: CFHTTP within CFC issue.. Brings up another weird issue which may or may not be related to this. Inside the CFC I am trying

RE: CFHTTP within CFC issue..

2006-11-01 Thread Dave Watts
I don't follow. Wouldn't CFHTTP.FileContent just contain an XML string (not an object)? Yes. You can't put a string containing a well-formed XML document within CFXML, because a well-formed XML document contains an XML declaration: ?xml version=1.0 ... ? CFXML creates that for you, and won't

RE: CFHTTP within CFC issue..

2006-11-01 Thread Ben Nadel
, 2006 5:21 PM To: CF-Talk Subject: RE: CFHTTP within CFC issue.. I don't follow. Wouldn't CFHTTP.FileContent just contain an XML string (not an object)? Yes. You can't put a string containing a well-formed XML document within CFXML, because a well-formed XML document contains an XML declaration

RE: CFHTTP within CFC issue..

2006-11-01 Thread Dave Watts
I just tried this and it works fine for me: !--- Create XML Doc. --- cfxml variable=xmlData dude nameBen Nadel/name /dude /cfxml !--- Get XML String (Including ?xml string). --- cfset strXmlData = ToString( xmlData ) / !--- Check XML string. ---