Start all files with:
<cfsetting enablecfoutputonly="yes">
put cf code here, surround HTML outputs with cfoutput
end all files with:
<cfsetting enablecfoutputonly="no">
That will eliminate ALL the extra white space that was not generated as you wanted it
to be, and it's backwards-compatible with version 4.01.
---mark
--------------------------------------------------------------
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--------------------------------------------------------------
> -----Original Message-----
> From: Paul Sizemore [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 20, 2000 9:15 AM
> To: CF-Talk
> Subject: Output to File, a lot of white space
>
>
> I'm writing a file to disk using the Scheduled Task's "Output to file"
> feature. And, when the file is generated on disk it has a lot of extra
> carriage returns, tabs, and spaces. The amount of extra "white"
> space looks
> a lot like the extra "white" space in my code. In fact I deleted an extra
> carriage return in my Application.cfm, and a carriage return in
> the file was
> deleted.
> I have selected "Suppress whitespace by default " on the server, used
> <CFPROCESSINGDIRECTIVE ... , experimented with <CFSetting>, and
> none of them
> work (I do notice a difference with suppressing the white space).
>
> Paul Sizemore
>
> Finish Line
> 3308 N Mitthoeffer Rd
> Indianapolis, IN 46235
> W: 317-899-1022 ext 3516
> ------------------------------------------------------------------
> ------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> or send a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebarRsts or send a message with
'unsubscribe' in the body to [EMAIL PROTECTED]