<?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: Building XML</title>
	<atom:link href="http://jacksondunstan.com/articles/387/feed" rel="self" type="application/rss+xml" />
	<link>http://jacksondunstan.com/articles/387</link>
	<description>Mastering AS3</description>
	<lastBuildDate>Wed, 08 Sep 2010 19:02:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/387/comment-page-1#comment-413</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Sun, 29 Nov 2009 23:55:06 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=387#comment-413</guid>
		<description>Unfortunately it&#039;s not available in AS3, AS2, or JavaScript. Maybe one day there will be a port.</description>
		<content:encoded><![CDATA[<p>Unfortunately it&#8217;s not available in AS3, AS2, or JavaScript. Maybe one day there will be a port.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anon-anon</title>
		<link>http://jacksondunstan.com/articles/387/comment-page-1#comment-412</link>
		<dc:creator>anon-anon</dc:creator>
		<pubDate>Fri, 27 Nov 2009 19:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=387#comment-412</guid>
		<description>You may want to look at vtd-xml as the state of the art in XML processing, consuming far less memory than DOM

&lt;a href=&quot;http://vtd-xml.sf.net&quot; rel=&quot;nofollow&quot;&gt;http://vtd-xml.sf.net&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>You may want to look at vtd-xml as the state of the art in XML processing, consuming far less memory than DOM</p>
<p><a href="http://vtd-xml.sf.net" rel="nofollow">http://vtd-xml.sf.net</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mels</title>
		<link>http://jacksondunstan.com/articles/387/comment-page-1#comment-313</link>
		<dc:creator>mels</dc:creator>
		<pubDate>Wed, 21 Oct 2009 14:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=387#comment-313</guid>
		<description>1.7 Ghz Intel , 1GB RAM (?), Windows XP, flash player WIN 10,0,32,18</description>
		<content:encoded><![CDATA[<p>1.7 Ghz Intel , 1GB RAM (?), Windows XP, flash player WIN 10,0,32,18</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/387/comment-page-1#comment-308</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Tue, 20 Oct 2009 18:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=387#comment-308</guid>
		<description>Interesting. Would you mind posting your test environment (specs, OS, Flash player)?</description>
		<content:encoded><![CDATA[<p>Interesting. Would you mind posting your test environment (specs, OS, Flash player)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mels</title>
		<link>http://jacksondunstan.com/articles/387/comment-page-1#comment-307</link>
		<dc:creator>mels</dc:creator>
		<pubDate>Tue, 20 Oct 2009 18:13:01 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=387#comment-307</guid>
		<description>FYI :
XML Class Time: 564
String Class Time: 3
XML Class from String Time: 13
(var $xml:XML = new XML (studentsString);)</description>
		<content:encoded><![CDATA[<p>FYI :<br />
XML Class Time: 564<br />
String Class Time: 3<br />
XML Class from String Time: 13<br />
(var $xml:XML = new XML (studentsString);)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/387/comment-page-1#comment-306</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Mon, 19 Oct 2009 20:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=387#comment-306</guid>
		<description>I thought of converting the string to XML and the XML to string, but decided to keep the test pure. After all, sometimes you want the string and sometimes you want the XML, so there is no universal goal that both approaches should go toward. But you showed some interest so I tried it out. It didn&#039;t make any significant difference in either time. I&#039;m still seeing the exact same numbers as I listed in the article. Still, it&#039;s good to know that these conversions are fast!</description>
		<content:encoded><![CDATA[<p>I thought of converting the string to XML and the XML to string, but decided to keep the test pure. After all, sometimes you want the string and sometimes you want the XML, so there is no universal goal that both approaches should go toward. But you showed some interest so I tried it out. It didn&#8217;t make any significant difference in either time. I&#8217;m still seeing the exact same numbers as I listed in the article. Still, it&#8217;s good to know that these conversions are fast!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonnie</title>
		<link>http://jacksondunstan.com/articles/387/comment-page-1#comment-305</link>
		<dc:creator>Jonnie</dc:creator>
		<pubDate>Mon, 19 Oct 2009 20:26:07 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=387#comment-305</guid>
		<description>I&#039;d be curious to see what the result is for the String route if you parse it to XML at the end: var $xml:XML = new XML (studentsString);</description>
		<content:encoded><![CDATA[<p>I&#8217;d be curious to see what the result is for the String route if you parse it to XML at the end: var $xml:XML = new XML (studentsString);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/387/comment-page-1#comment-304</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Mon, 19 Oct 2009 16:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=387#comment-304</guid>
		<description>I cleaned up your posts (I don&#039;t know how to put XML in comments either, but I&#039;ll look into it) and tried out your version on the Windows environment I added to the article. The difference seemed negligible: 225-235ms compared to 229. Still, it&#039;s a lot cleaner way of doing it, especially for this simple example.

Thanks for the tip!</description>
		<content:encoded><![CDATA[<p>I cleaned up your posts (I don&#8217;t know how to put XML in comments either, but I&#8217;ll look into it) and tried out your version on the Windows environment I added to the article. The difference seemed negligible: 225-235ms compared to 229. Still, it&#8217;s a lot cleaner way of doing it, especially for this simple example.</p>
<p>Thanks for the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonathan</title>
		<link>http://jacksondunstan.com/articles/387/comment-page-1#comment-303</link>
		<dc:creator>jonathan</dc:creator>
		<pubDate>Mon, 19 Oct 2009 10:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=387#comment-303</guid>
		<description>sorry can you clean my posts, I don&#039;t how to post XML under actionscript...</description>
		<content:encoded><![CDATA[<p>sorry can you clean my posts, I don&#8217;t how to post XML under actionscript&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonathan</title>
		<link>http://jacksondunstan.com/articles/387/comment-page-1#comment-302</link>
		<dc:creator>jonathan</dc:creator>
		<pubDate>Mon, 19 Oct 2009 09:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=387#comment-302</guid>
		<description>Have you try :

&lt;pre lang=&quot;actionscript3&quot;&gt;
    var student:XML = 
    &lt;student&gt;
      &lt;firstName&gt;First{i}&lt;/firstName&gt;
      &lt;lastName&gt;Last{i}&lt;/lastName&gt;
    &lt;/student&gt;;
    studentsXML.appendChild(student);
&lt;/pre&gt;

It does the same result but without large call of functions.</description>
		<content:encoded><![CDATA[<p>Have you try :</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;">    <span style="color: #6699cc; font-weight: bold;">var</span> student<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">XML</span> = 
    <span style="color: #000000; font-weight: bold;">&lt;</span>student<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>firstName<span style="color: #000000; font-weight: bold;">&gt;</span>First<span style="color: #000000;">&#123;</span>i<span style="color: #000000;">&#125;</span><span style="color: #000000; font-weight: bold;">&lt;/</span>firstName<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>lastName<span style="color: #000000; font-weight: bold;">&gt;</span>Last<span style="color: #000000;">&#123;</span>i<span style="color: #000000;">&#125;</span><span style="color: #000000; font-weight: bold;">&lt;/</span>lastName<span style="color: #000000; font-weight: bold;">&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;/</span>student<span style="color: #000000; font-weight: bold;">&gt;</span>;
    studentsXML.<span style="color: #004993;">appendChild</span><span style="color: #000000;">&#40;</span>student<span style="color: #000000;">&#41;</span>;</pre></div></div>

<p>It does the same result but without large call of functions.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
