Daniel,

To debug it, change text/xml to text/plain.  In the
<cfoutput>#header#</cfoutput> change it to
<cfoutput>#retrieve_xml#</cfoutput>


The errors you're receiving right now are because the browser is
expecting a nicely formatted xml packet.  I'm not sure what you've got
#header# set to right now, but it's probably not valid xml.  Once you
change the doctype in the cfcontent command, you should be able to
view, directly in the browser, what's being generated.




On 11/15/05, daniel kessler <[EMAIL PROTECTED]> wrote:
> I did find a way to get myself another error (that sounds more promising):
> error on line 1 at column 10: Comment must not contain '--' (double-hyphen)
>
> I used this:
>
> <cfquery name="retrieve_xml" datasource="dpch">
> SELECT header FROM whats_new
> </cfquery>
>
> <cfsetting enablecfoutputonly="true"/>
> <cfsetting showdebugoutput="false"/>
>
> <cfsavecontent variable="retrieve_xml">
> <cfoutput>
> #header#
> </cfoutput>
> </cfsavecontent>
> <cfcontent type="text/xml"><cfoutput query="retrieve_xml">#header#</cfoutput>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224237
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to