<?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: Creating HTML blocks with Mootools</title>
	<atom:link href="http://dev.enekoalonso.com/2009/09/02/creating-html-blocks-with-mootools/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.enekoalonso.com/2009/09/02/creating-html-blocks-with-mootools/</link>
	<description>having fun with code</description>
	<lastBuildDate>Thu, 15 Sep 2011 22:21:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: aljun83</title>
		<link>http://dev.enekoalonso.com/2009/09/02/creating-html-blocks-with-mootools/comment-page-1/#comment-39611</link>
		<dc:creator>aljun83</dc:creator>
		<pubDate>Mon, 13 Jun 2011 10:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=376#comment-39611</guid>
		<description>Thanks for the short examples. Now, I have an idea for making a HTML.</description>
		<content:encoded><![CDATA[<p>Thanks for the short examples. Now, I have an idea for making a HTML.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eneko Alonso</title>
		<link>http://dev.enekoalonso.com/2009/09/02/creating-html-blocks-with-mootools/comment-page-1/#comment-25401</link>
		<dc:creator>Eneko Alonso</dc:creator>
		<pubDate>Tue, 02 Feb 2010 05:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=376#comment-25401</guid>
		<description>Finally, the best way to generate HTML from Javascript: Mooml :)
http://mootools.net/forge/p/mooml</description>
		<content:encoded><![CDATA[<p>Finally, the best way to generate HTML from Javascript: Mooml :)<br />
<a href="http://mootools.net/forge/p/mooml" rel="nofollow">http://mootools.net/forge/p/mooml</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eneko Alonso</title>
		<link>http://dev.enekoalonso.com/2009/09/02/creating-html-blocks-with-mootools/comment-page-1/#comment-23644</link>
		<dc:creator>Eneko Alonso</dc:creator>
		<pubDate>Fri, 04 Sep 2009 20:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=376#comment-23644</guid>
		<description>Thanks for the tip Aaron. We noticed here the problem with multiple root elements on the html fragment. Our solution was to return .getChildren() instead of .getFirst(), but that wouldn&#039;t work either if there were any text nodes at the root of the html (kinda weird but..). Maybe you would like to consider that on the new Elements.From code. 

What is exactly the issue with table nodes and what do they require special handling?</description>
		<content:encoded><![CDATA[<p>Thanks for the tip Aaron. We noticed here the problem with multiple root elements on the html fragment. Our solution was to return .getChildren() instead of .getFirst(), but that wouldn&#8217;t work either if there were any text nodes at the root of the html (kinda weird but..). Maybe you would like to consider that on the new Elements.From code. </p>
<p>What is exactly the issue with table nodes and what do they require special handling?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Newton</title>
		<link>http://dev.enekoalonso.com/2009/09/02/creating-html-blocks-with-mootools/comment-page-1/#comment-23634</link>
		<dc:creator>Aaron Newton</dc:creator>
		<pubDate>Thu, 03 Sep 2009 17:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=376#comment-23634</guid>
		<description>There&#039;s actually a solution for you coming in the next MooTools More (hopefully coming out in a week or so):

http://github.com/mootools/mootools-more/blob/master/Source/Element/Elements.From.js

There are a few things to recognize here:

1) a string of html may return more than one element at the top level, so it&#039;s better to return an instance of Elements instead of Element
2) attempting this with table elements will produce poor results
3) if your html includes scripts, you might want to handle that differently</description>
		<content:encoded><![CDATA[<p>There&#8217;s actually a solution for you coming in the next MooTools More (hopefully coming out in a week or so):</p>
<p><a href="http://github.com/mootools/mootools-more/blob/master/Source/Element/Elements.From.js" rel="nofollow">http://github.com/mootools/mootools-more/blob/master/Source/Element/Elements.From.js</a></p>
<p>There are a few things to recognize here:</p>
<p>1) a string of html may return more than one element at the top level, so it&#8217;s better to return an instance of Elements instead of Element<br />
2) attempting this with table elements will produce poor results<br />
3) if your html includes scripts, you might want to handle that differently</p>
]]></content:encoded>
	</item>
</channel>
</rss>

