>So I've tried that, viewed source on the changed file and it looks exactly
>the same. I'm running CFMX6.1 on my windows test machine. Does anyone have
>any ideas or alternate code which I might try?
>
><!----------------//------
>andy matthews
>web developer

Andy,
What I do is put the page in between a cfsavecontent tag and then use the 
HtmlCompressFormat udf from cflib, http://www.cflib.org/udf.cfm?ID=812, to 
remove the whitespace. For example:

<cfsavecontent variable ="variables.compressedOutput">
do stuff here
do more stuff here
do still more stuff
</cfsavecontent>
<cfoutput>#htmlCompressFormat(variables.compressedOutput, 3)#</cfoutput>

would remove all the whitespace and put the variables.compressedOutput all into 
one line.

>From what I've tested it doesn't a significant amount to the processing time.

regards,
larry
--
Larry C. Lyons
Web Analyst
BEI Resources
American Type Culture Collection
email: llyons(at)atcc(dot)org
tel: 703.365.2700.2678
--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230345
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to