<?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"
	>
<channel>
	<title>Comments on: Parsing HTML with innerHTML</title>
	<atom:link href="http://www.pathf.com/blogs/2007/09/parsing-html-wi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pathf.com/blogs/2007/09/parsing-html-wi/</link>
	<description>Running commentary about agile development, user experience design and Ajax.</description>
	<pubDate>Mon, 01 Dec 2008 23:04:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Jan</title>
		<link>http://www.pathf.com/blogs/2007/09/parsing-html-wi/#comment-348</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Wed, 12 Sep 2007 10:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=255#comment-348</guid>
		<description>&lt;p&gt;A very good reason for using innerHTML is that it avoids duplicate code.&lt;br /&gt;
You already know how to render data to a table on the server side.&lt;br /&gt;
Implementing this a second time, in javascript, on the client side and keeping both implementations in sync blows up your codebase unnecessarily, is tedious and error-prone.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>A very good reason for using innerHTML is that it avoids duplicate code.<br />
You already know how to render data to a table on the server side.<br />
Implementing this a second time, in javascript, on the client side and keeping both implementations in sync blows up your codebase unnecessarily, is tedious and error-prone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.pathf.com/blogs/2007/09/parsing-html-wi/#comment-347</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 10 Sep 2007 23:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=255#comment-347</guid>
		<description>&lt;p&gt;Another reason to use innerHTML is because it's so much faster.  I have a case where I use ajax to paginate a table's content (thousands of rows, so it calls back to the server); Building the table manually with the DOM is very unwieldy and slow, the easier and faster solution is just to return back an updated TABLE element and toss that in with innerHTML.&lt;br /&gt;
A browser's parsing engine is generally going to be much much faster than its javascript engine.&lt;br /&gt;
The end-user doesn't care about coding niceness, only about perceived speed of the site.&lt;br /&gt;
Building a TABLE on the server side is also much easier than trying to build one in the DOM.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Another reason to use innerHTML is because it&#8217;s so much faster.  I have a case where I use ajax to paginate a table&#8217;s content (thousands of rows, so it calls back to the server); Building the table manually with the DOM is very unwieldy and slow, the easier and faster solution is just to return back an updated TABLE element and toss that in with innerHTML.<br />
A browser&#8217;s parsing engine is generally going to be much much faster than its javascript engine.<br />
The end-user doesn&#8217;t care about coding niceness, only about perceived speed of the site.<br />
Building a TABLE on the server side is also much easier than trying to build one in the DOM.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
