<cfquery name="retrieve_xml" datasource="dpch"> SELECT header FROM whats_new </cfquery>
<cfsetting enablecfoutputonly="true"/> <cfsetting showdebugoutput="false"/> <cfsavecontent variable="header"> <cfoutput> #header# </cfoutput> </cfsavecontent> <cfcontent type="text/xml"><cfoutput>#header#</cfoutput> On 11/15/05, daniel kessler <[EMAIL PROTECTED]> wrote: > > I get an error. I did: > > <cfquery name="retrieve_xml" datasource="dpch"> > SELECT header FROM whats_new > </cfquery> > > <cfsetting enablecfoutputonly="true"/> > <cfsetting showdebugoutput="false"/> > <cfcontent type="text/xml"> > <cfsavecontent variable="header"> > <cfoutput> > #header# > </cfoutput> > </cfsavecontent> > > and I get the error: > error on line 1 at column 1: Extra content at the end of the document > > Not sure what it means. I'm not generating xml yet cause I figured that > I'd try something simple first. Then make a complex file. > > > > > On 11/15/05, daniel kessler <[EMAIL PROTECTED]> wrote: > > > ><cfsetting enablecfoutputonly="true"/> > > > ><cfsetting showdebugoutput="false"/> > > > > Insert your processing code here. You don't have to use cfscript > > syntax. Just put a <cfsavecontent variable="feed"> tagset around > > anything you're outputting. > > > > > ><cfcontent type="text/xml"> > > > ><cfscript> > > > >writeoutput(feed); </cfscript> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224218 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

