<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Eliminating Whitespace in ColdFusion</title>
	<atom:link href="http://www.simonwhatley.co.uk/eliminating-whitespace-in-coldfusion/feed" rel="self" type="application/rss+xml" />
	<link>http://www.simonwhatley.co.uk/eliminating-whitespace-in-coldfusion</link>
	<description>The opposite of every great idea is another great idea</description>
	<lastBuildDate>Tue, 24 Jan 2012 10:54:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: jason</title>
		<link>http://www.simonwhatley.co.uk/eliminating-whitespace-in-coldfusion/comment-page-1#comment-691</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Sat, 21 Jan 2012 00:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=351#comment-691</guid>
		<description>man, i was outputting a TAB file and i kept manually removing whitespace until i got fed up with it and found this article. the first option under server settings solved this for me. now the output tab-delimeted file has no whitespace generated from code. thanks again. </description>
		<content:encoded><![CDATA[<p>man, i was outputting a TAB file and i kept manually removing whitespace until i got fed up with it and found this article. the first option under server settings solved this for me. now the output tab-delimeted file has no whitespace generated from code. thanks again. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Whatley</title>
		<link>http://www.simonwhatley.co.uk/eliminating-whitespace-in-coldfusion/comment-page-1#comment-592</link>
		<dc:creator>Simon Whatley</dc:creator>
		<pubDate>Mon, 20 Dec 2010 16:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=351#comment-592</guid>
		<description>@mark I haven&#039;t tried the servlet filter on ColdFusion 9, but perhaps the JAR file conflicts with later versions of libraries used within ColdFusion.</description>
		<content:encoded><![CDATA[<p>@mark I haven&#8217;t tried the servlet filter on ColdFusion 9, but perhaps the JAR file conflicts with later versions of libraries used within ColdFusion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Klepa</title>
		<link>http://www.simonwhatley.co.uk/eliminating-whitespace-in-coldfusion/comment-page-1#comment-591</link>
		<dc:creator>Mark Klepa</dc:creator>
		<pubDate>Mon, 20 Dec 2010 15:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=351#comment-591</guid>
		<description>Why do I get an error when trying this?  I&#039;m using CF9.  I get something like the application is not configured to run your request.</description>
		<content:encoded><![CDATA[<p>Why do I get an error when trying this?  I&#8217;m using CF9.  I get something like the application is not configured to run your request.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grant</title>
		<link>http://www.simonwhatley.co.uk/eliminating-whitespace-in-coldfusion/comment-page-1#comment-437</link>
		<dc:creator>Grant</dc:creator>
		<pubDate>Fri, 26 Mar 2010 21:36:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=351#comment-437</guid>
		<description>&lt;cfcontent type=&quot;text/html; charset=ISO-8859-1&quot; reset=&quot;true&quot; /&gt; will reset the content loaded by a page to blank... I usually put at the top of my onRequestStart() in application.cfm.  Just for those who don&#039;t have the ATM to mess with a servlet install and need a quick fix.</description>
		<content:encoded><![CDATA[<p>&lt;cfcontent type=&#8221;text/html; charset=ISO-8859-1&#8243; reset=&#8221;true&#8221; /&gt; will reset the content loaded by a page to blank&#8230; I usually put at the top of my onRequestStart() in application.cfm.  Just for those who don&#39;t have the ATM to mess with a servlet install and need a quick fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Datico</title>
		<link>http://www.simonwhatley.co.uk/eliminating-whitespace-in-coldfusion/comment-page-1#comment-118</link>
		<dc:creator>Datico</dc:creator>
		<pubDate>Tue, 24 Nov 2009 17:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=351#comment-118</guid>
		<description>Oops, for 1) I meant &lt;cfsetting enablecfoutputonly=&quot;yes&quot;&gt; for my entire app</description>
		<content:encoded><![CDATA[<p>Oops, for 1) I meant &lt;cfsetting enablecfoutputonly=&#8221;yes&#8221;&gt; for my entire app</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Datico</title>
		<link>http://www.simonwhatley.co.uk/eliminating-whitespace-in-coldfusion/comment-page-1#comment-117</link>
		<dc:creator>Datico</dc:creator>
		<pubDate>Tue, 24 Nov 2009 17:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=351#comment-117</guid>
		<description>Of all the CF methods you mention, I have found the following best practice to be most useful:
1)  for my entire app (put it in application.cfc onRequest() or at the top of every page or something).
2) ALWAYS wrap my output in a cfoutput tag.
This has simplified my development a lot and I have no white space issues any longer. The separation of concerns (code, output) has helped simplify my file structure; it is very clear where html output is happening and where it is not. I simply use a cfloop inside a cfoutput if I want to output a query.  It also avoids the unpleasant issue of white-space trimmers mucking with my page and causing it to break (which happens rarely, but when it does can be a pain to fix).</description>
		<content:encoded><![CDATA[<p>Of all the CF methods you mention, I have found the following best practice to be most useful:<br />
1)  for my entire app (put it in application.cfc onRequest() or at the top of every page or something).<br />
2) ALWAYS wrap my output in a cfoutput tag.<br />
This has simplified my development a lot and I have no white space issues any longer. The separation of concerns (code, output) has helped simplify my file structure; it is very clear where html output is happening and where it is not. I simply use a cfloop inside a cfoutput if I want to output a query.  It also avoids the unpleasant issue of white-space trimmers mucking with my page and causing it to break (which happens rarely, but when it does can be a pain to fix).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noname</title>
		<link>http://www.simonwhatley.co.uk/eliminating-whitespace-in-coldfusion/comment-page-1#comment-116</link>
		<dc:creator>Noname</dc:creator>
		<pubDate>Thu, 24 Sep 2009 11:35:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=351#comment-116</guid>
		<description>To remove empty lines from an xml:

ReReplace(xml, &quot;[\s]+[#Chr(13)##Chr(10)#]+&quot;, &quot;#Chr(10)#&quot;, &quot;ALL&quot;)</description>
		<content:encoded><![CDATA[<p>To remove empty lines from an xml:</p>
<p>ReReplace(xml, &#8220;[\s]+[#Chr(13)##Chr(10)#]+&#8221;, &#8220;#Chr(10)#&#8221;, &#8220;ALL&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.simonwhatley.co.uk/eliminating-whitespace-in-coldfusion/comment-page-1#comment-115</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sun, 19 Oct 2008 00:08:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=351#comment-115</guid>
		<description>Nice.  Works like a charm.

Thanks!</description>
		<content:encoded><![CDATA[<p>Nice.  Works like a charm.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://www.simonwhatley.co.uk/eliminating-whitespace-in-coldfusion/comment-page-1#comment-114</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Fri, 13 Jun 2008 08:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=351#comment-114</guid>
		<description>Thanks, for the info saved me about a trimmed about a 1/6th off the download. I was going to go in manually and try to use the traditional methods you mentioned but this is much easier.

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks, for the info saved me about a trimmed about a 1/6th off the download. I was going to go in manually and try to use the traditional methods you mentioned but this is much easier.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.simonwhatley.co.uk/eliminating-whitespace-in-coldfusion/comment-page-1#comment-113</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Fri, 26 Oct 2007 13:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=351#comment-113</guid>
		<description>@Petron - Thanks for noticing the error, I&#039;ve corrected the image.</description>
		<content:encoded><![CDATA[<p>@Petron &#8211; Thanks for noticing the error, I&#8217;ve corrected the image.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

