> I'm running the following test code: > > <html> > > ... > > <CFHEADER NAME="Content-Disposition" VALUE="inline; > filename=Yourfilename.xls"> > <CFCONTENT TYPE="application/msexcel" >Company Name > <CFOUTPUT QUERY="test"> > #CompanyName##carriage# > </CFOUTPUT> > </CFCONTENT> > > ... > > And I'm getting this error: > > Error Diagnostic Information > Context validation error in tag CFCONTENT
The CFCONTENT tag isn't a "block" tag - you should only have a start tag, and no end tag. In addition, you don't want to have any extraneous HTML or other text in your document - this won't cause a CF error, but may keep you from achieving the desired result. Here are some simple CFCONTENT examples: http://www.figleaf.com/demo/mimetest/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.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

