> The XML file which I am writting through coldfusion. Its 
> putting this line of the top of the page.
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> is there anyway to prevent that. and force not to put the 
> header automatically???

No, you need an XML declaration at the top, and CFXML doesn't allow you to
prevent that. If you want to change the XML declaration for some reason, you
could generate your XML document using CFSAVECONTENT instead of CFXML, and
you could then add the declaration manually and use XMLParse to tell CF that
the string should be treated as an XML document object.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Protect your mail server with built in anti-virus protection. It's not only good for 
you, it's good for everybody.
http://www.houseoffusion.com/banners/view.cfm?bannerid=39

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182741
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