<?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: DOM Builder</title>
	<atom:link href="http://www.webstandards.org/2006/04/13/dom-builder/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webstandards.org/2006/04/13/dom-builder/</link>
	<description>Working together for standards</description>
	<lastBuildDate>Wed, 27 Mar 2013 12:19:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Charles Ulrich</title>
		<link>http://www.webstandards.org/2006/04/13/dom-builder/comment-page-1/#comment-39140</link>
		<dc:creator>Charles Ulrich</dc:creator>
		<pubDate>Sun, 28 Jan 2007 04:33:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.webstandards.org/2006/04/13/dom-builder/#comment-39140</guid>
		<description>The links to the scripts return a 404...</description>
		<content:encoded><![CDATA[<p>The links to the scripts return a 404&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Blacker</title>
		<link>http://www.webstandards.org/2006/04/13/dom-builder/comment-page-1/#comment-7278</link>
		<dc:creator>Tony Blacker</dc:creator>
		<pubDate>Mon, 09 Oct 2006 01:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.webstandards.org/2006/04/13/dom-builder/#comment-7278</guid>
		<description>Thank you, been searching for ages for a concept such as this, very very helpful! Cheers.</description>
		<content:encoded><![CDATA[<p>Thank you, been searching for ages for a concept such as this, very very helpful! Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: der_simon</title>
		<link>http://www.webstandards.org/2006/04/13/dom-builder/comment-page-1/#comment-5685</link>
		<dc:creator>der_simon</dc:creator>
		<pubDate>Fri, 22 Sep 2006 12:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.webstandards.org/2006/04/13/dom-builder/#comment-5685</guid>
		<description>I&#039;m writing on a substitute for innerHTML calles innerDOM. It just works on most strings you type in. 
Some things are net yet implemted and have to be writen. 

So see the script and test it: http://innerdom.sourceforge.net/

Der Simon</description>
		<content:encoded><![CDATA[<p>I&#8217;m writing on a substitute for innerHTML calles innerDOM. It just works on most strings you type in.<br />
Some things are net yet implemted and have to be writen. </p>
<p>So see the script and test it: <a href="http://innerdom.sourceforge.net/" rel="nofollow">http://innerdom.sourceforge.net/</a></p>
<p>Der Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lehman</title>
		<link>http://www.webstandards.org/2006/04/13/dom-builder/comment-page-1/#comment-2739</link>
		<dc:creator>lehman</dc:creator>
		<pubDate>Sat, 29 Jul 2006 08:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.webstandards.org/2006/04/13/dom-builder/#comment-2739</guid>
		<description>David, interesting concept, although it is a bit like putting the carriage before the horse. What DOM methods teach developers is to stop seeing the HTML page as a massive string but as a set of nodes.</description>
		<content:encoded><![CDATA[<p>David, interesting concept, although it is a bit like putting the carriage before the horse. What DOM methods teach developers is to stop seeing the HTML page as a massive string but as a set of nodes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garrett</title>
		<link>http://www.webstandards.org/2006/04/13/dom-builder/comment-page-1/#comment-1686</link>
		<dc:creator>Garrett</dc:creator>
		<pubDate>Mon, 19 Jun 2006 23:52:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.webstandards.org/2006/04/13/dom-builder/#comment-1686</guid>
		<description>This set of functions is really only to address a small handful of IE specific DOM bugs. 

innerHTML is faster and sometimes cleaner. It is sometimes more appropriate than using DOM creational methods.

createDocumentFragment is supported in IE.</description>
		<content:encoded><![CDATA[<p>This set of functions is really only to address a small handful of IE specific DOM bugs. </p>
<p>innerHTML is faster and sometimes cleaner. It is sometimes more appropriate than using DOM creational methods.</p>
<p>createDocumentFragment is supported in IE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M. Gozler</title>
		<link>http://www.webstandards.org/2006/04/13/dom-builder/comment-page-1/#comment-488</link>
		<dc:creator>M. Gozler</dc:creator>
		<pubDate>Sun, 30 Apr 2006 10:25:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.webstandards.org/2006/04/13/dom-builder/#comment-488</guid>
		<description>I made--and have been from time to time revising (fixing code)---what I call the &#039;DOM1.js&#039; library of functions a long time ago to handle exactly that problem either of nonconformance to W3C &quot;recommendations&quot; (even they are not willing to declare them standards!---such as the MSIE abence of the document.createDocumentFragment() method, as well as to handle pseudo-methods such as making document fragments out of setting &quot;properties&quot; like .innerHTML.

Should anyone be interested in this library of functions, email me.

You are warned that these have only been barely tested by me, and they worked for my purposes.

The principal function &quot;makeHTMLDocFrag(string)&quot; takes a string of HTML-formatted code just like setting .innerHTML, and it returns a document fragment (except under IE, in which it returns the tree under a DIV root, I think).  Moreover my functions do syntax/code checking:  they check what elements can be contained inside and outside them, so that a legal document fragment is created.</description>
		<content:encoded><![CDATA[<p>I made&#8211;and have been from time to time revising (fixing code)&#8212;what I call the &#8216;DOM1.js&#8217; library of functions a long time ago to handle exactly that problem either of nonconformance to W3C &#8220;recommendations&#8221; (even they are not willing to declare them standards!&#8212;such as the MSIE abence of the document.createDocumentFragment() method, as well as to handle pseudo-methods such as making document fragments out of setting &#8220;properties&#8221; like .innerHTML.</p>
<p>Should anyone be interested in this library of functions, email me.</p>
<p>You are warned that these have only been barely tested by me, and they worked for my purposes.</p>
<p>The principal function &#8220;makeHTMLDocFrag(string)&#8221; takes a string of HTML-formatted code just like setting .innerHTML, and it returns a document fragment (except under IE, in which it returns the tree under a DIV root, I think).  Moreover my functions do syntax/code checking:  they check what elements can be contained inside and outside them, so that a legal document fragment is created.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Bleeker</title>
		<link>http://www.webstandards.org/2006/04/13/dom-builder/comment-page-1/#comment-407</link>
		<dc:creator>Dave Bleeker</dc:creator>
		<pubDate>Fri, 21 Apr 2006 17:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.webstandards.org/2006/04/13/dom-builder/#comment-407</guid>
		<description>Hi all,

I have to admit that the use of innerHTML  method can save a lot of time and headache in some cases, but I agree with Chris Heilmann and I think the idea nothing is wrong with it is a mistake. Please correct me if I&#039;m wrong, but basicly there are 2 major problems when using the innerHTML method:

1. All previously DOM nodes will be lost. Therefore you need to reinitialize them if any code depends on those nodes. Not really sophisticated in my opinion.

2. All content is rendered again, regardless whether the content was already rendered.

Therefore I think it is better to use the W3C compliant way of adding nodes to your document, and I wouldn&#039;t recommend using innerHTML when it comes to scalabillity and  OOP programming.</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>I have to admit that the use of innerHTML  method can save a lot of time and headache in some cases, but I agree with Chris Heilmann and I think the idea nothing is wrong with it is a mistake. Please correct me if I&#8217;m wrong, but basicly there are 2 major problems when using the innerHTML method:</p>
<p>1. All previously DOM nodes will be lost. Therefore you need to reinitialize them if any code depends on those nodes. Not really sophisticated in my opinion.</p>
<p>2. All content is rendered again, regardless whether the content was already rendered.</p>
<p>Therefore I think it is better to use the W3C compliant way of adding nodes to your document, and I wouldn&#8217;t recommend using innerHTML when it comes to scalabillity and  OOP programming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Heilmann</title>
		<link>http://www.webstandards.org/2006/04/13/dom-builder/comment-page-1/#comment-349</link>
		<dc:creator>Chris Heilmann</dc:creator>
		<pubDate>Tue, 18 Apr 2006 17:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.webstandards.org/2006/04/13/dom-builder/#comment-349</guid>
		<description>Dustin, the reason it is called innerHTML is that it is not innerXML, but an attribute that is only applicable in a browser and HTML environment. A lot of web standards go beyond this scope and rightfully so. 

XML is a standard very much in use - outside the traditional web design world due to lack of browser support. There the DOM also applies and many .NET, JAVA or PHP programmers use the DOM methods defined in the W3C standards. Muddling these standards because of a speed issue with browsers would not really help.

That innerHTML can be the better solution for some applications and scenarios is not even a debate, it is a fact. However, it does not make it a standard and IMHO it does allow for sloppy coding. I cannot generate unclosed tags with the DOM, but I can write whatever I please inside innerHTML.</description>
		<content:encoded><![CDATA[<p>Dustin, the reason it is called innerHTML is that it is not innerXML, but an attribute that is only applicable in a browser and HTML environment. A lot of web standards go beyond this scope and rightfully so. </p>
<p>XML is a standard very much in use &#8211; outside the traditional web design world due to lack of browser support. There the DOM also applies and many .NET, JAVA or PHP programmers use the DOM methods defined in the W3C standards. Muddling these standards because of a speed issue with browsers would not really help.</p>
<p>That innerHTML can be the better solution for some applications and scenarios is not even a debate, it is a fact. However, it does not make it a standard and IMHO it does allow for sloppy coding. I cannot generate unclosed tags with the DOM, but I can write whatever I please inside innerHTML.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Webb</title>
		<link>http://www.webstandards.org/2006/04/13/dom-builder/comment-page-1/#comment-341</link>
		<dc:creator>Dan Webb</dc:creator>
		<pubDate>Sun, 16 Apr 2006 15:32:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.webstandards.org/2006/04/13/dom-builder/#comment-341</guid>
		<description>I&#039;m not too sure myself on what method is best to use from a practical point of view.  I actually wrote the DOM Builder because I thought it was cleaner to deal with in a script compared to long strings full of quoted &quot; characters rather than the fact that it was necessarily better to use the DOM API over innerHTML.  With DOM Builder, the code is even more compact than the HTML it generates.  That&#039;s it&#039;s strongest point for me.

I actually toyed with the idea of having it build HTML strings rather than DOM nodes or maybe have it include the option to do either but that could bloat the script a bit.  I&#039;ll look into it.

Too me the only thing that stops me using the DOM API for everything is how slow IE&#039;s implementation is.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not too sure myself on what method is best to use from a practical point of view.  I actually wrote the DOM Builder because I thought it was cleaner to deal with in a script compared to long strings full of quoted &#8221; characters rather than the fact that it was necessarily better to use the DOM API over innerHTML.  With DOM Builder, the code is even more compact than the HTML it generates.  That&#8217;s it&#8217;s strongest point for me.</p>
<p>I actually toyed with the idea of having it build HTML strings rather than DOM nodes or maybe have it include the option to do either but that could bloat the script a bit.  I&#8217;ll look into it.</p>
<p>Too me the only thing that stops me using the DOM API for everything is how slow IE&#8217;s implementation is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny Scrutchins</title>
		<link>http://www.webstandards.org/2006/04/13/dom-builder/comment-page-1/#comment-340</link>
		<dc:creator>Johnny Scrutchins</dc:creator>
		<pubDate>Sat, 15 Apr 2006 22:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.webstandards.org/2006/04/13/dom-builder/#comment-340</guid>
		<description>Need to update my Internet.         B
 Browsen</description>
		<content:encoded><![CDATA[<p>Need to update my Internet.         B<br />
 Browsen</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.311 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-10-01 23:56:36 -->