my guess is that you have answered your question by saying that you could use a cflocation tag.
Alternatively, if you trust your xml scrip to always create the xml document without errors, you may use a prompt to display your activity status just before you use the xml script. Best Regrads, Chuka I.W. Anene Chief Software Eng./CEO Quorium Solutions www.quorium.org +234 70 3269 6113 +234 80 9530 7257 +234 1 881 2777 ________________________________ From: Ken Hammond <khamm...@saleminc.com> To: cf-talk <cf-talk@houseoffusion.com> Sent: Fri, May 13, 2011 4:43:44 PM Subject: Coldfusion 9 XML creation and HTML after Here is what I am running into. I have a web form that takes in the info I need. I process the form on the next page and it creates an XML document that I need (which is being created successfully). I need to display something back to the end user telling them it's been created. After my end tag </cfprocessingdirective> if I write any text it throws back the errors that there is something after that end tag... How do I create my XML document and still display something back to the end user (or if need be, use a cflocation to get them to an acknowledgement page? The error that comes back in a red box: This page contains the following errors: error on line 26 at column 1: Extra content at the end of the document Below is a rendering of the page up to the first error. Ken ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344505 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm