As everyone knows, IE will semi-verify and render XML documents for
you.  I want to query the database and extract an XML document for IE to
verify and render for me.  How would I go about this?  I have found
information on how to transfer a file to a client with <cfcontent> and
<cfheader> but the XML document is not actually a file.  I want to
simulate this.

Also, I am getting some double response headers (Content-type:...) like
this because CF automatically starts to create the header for me.  How
can I stop this.

HEAD /design/slides/search/xmldoc.cfm

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Wed, 15 May 2002 19:30:38 GMT
Content-type: text/plain
Page-Completion-Status: Normal
Content-type: text/xml
Content-disposition: inline; filename=file.xml
Page-Completion-Status: Normal
Set-Cookie: CFID=7357; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/;
domain=.1.24.121;
Set-Cookie: CFMAGIC=7357%3A31625976; expires=Sun, 27-Sep-2037 00:00:00
GMT; path=/; domain=.1.24.121;
Set-Cookie: CFTOKEN=31625976; 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.

Thanks,
Troy

--
-------------------------
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]


______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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

Reply via email to