I was trying to spit out an XML Document for IE to render for me somehow managed to get it to work. But I do not understand how. In the header, I also getting two (Content-type:...). I really just funble though this and would like to understand what is going on here.
Here is the code: ------------------------------------------------------ <cfparam name="URL.accno" default="60793"> <cfquery name="qry" blockfactor="50" cachedwithin="#CreateTimeSpan(0,0,0,0)#" datasource="#Application.DSN#" timeout="10" dbtype="#Application.DSNDBType#"> SELECT search as xmldoc FROM design.search$v WHERE accno = #URL.accno# </cfquery> <!--- HEAD /design/slides/search/xmldoc.cfm HTTP/1.1 ---> <cfheader name="Content-type" value="text/plain"> <CFHEADER NAME="Content-Disposition" value="inline; filename=xx.xml"> <CFCONTENT TYPE="application/unknown"><cfoutput query="qry">#xmldoc#</cfoutput> ------------------------------------------------------------------ End of Code. Here is the raw text that I get back: ---------------------------------------- telnet emily 80 Trying 10.1.1.100... Connected to emily. Escape character is '^]'. HEAD /design/slides/search/xmldoc.cfm HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Wed, 15 May 2002 20:51:12 GMT Content-type: application/unknown Page-Completion-Status: Normal Content-type: text/plain Content-Disposition: inline; filename=xx.xml Page-Completion-Status: Normal Set-Cookie: CFID=7360; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/; domain=.1.24.121; Set-Cookie: CFMAGIC=7360%3A67858989; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/; domain=.1.24.121; Set-Cookie: CFTOKEN=67858989; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/; domain=.1.24.121; <?xml version="1.0"?><citation><accno>60793</accno><title>Parc Andre-Citroen</title><settitle sid="929">Paris: Parks and Gardens, 1615-1992</settitle><callnumber>lGxFR B343a A53ed05</callnumber><agents><agent primary="NO" aid="157" acutter="O469">Oldenburg, Claes Thure, b.1929</agent><agent primary="NO" aid="2481" acutter="B847">Bruggen, Coosje van, b.1942</agent><agent primary="YES" aid="9387" acutter="B343">Berger, Patrick, b. 1947</agent><agent primary="NO" aid="9388" acutter="V668">Viguier, Jean-Paul</agent><agent primary="NO" aid="9389" acutter="J474">Jodry, Jean-Francois</agent><agent primary="NO" aid="9390" acutter="C585">Clement, Gilles</agent><agent primary="NO" aid="9391" acutter="P928">Provost, Alain</agent></agents></citation> Connection closed by foreign host. ----------------------------------------- End of RAW text. -- ------------------------- Troy Simpson Applications Analyst/Programmer Microsoft Certified Systems Engineer Oracle Certified Professional DBA North Carolina State University Libraries Campus Box 7111 | Raleigh | North Carolina ph.919.515.3855 | fax.919.513.3330 E-mail: [EMAIL PROTECTED] ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

