<?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: E4X and Prototype Goodness</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2007/10/17/e4x-and-prototype-goodness/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barneyb.com/barneyblog/2007/10/17/e4x-and-prototype-goodness/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Mon, 15 Mar 2010 19:34:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2007/10/17/e4x-and-prototype-goodness/comment-page-1/#comment-43187</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 17 Oct 2007 19:40:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/10/17/e4x-and-prototype-goodness/#comment-43187</guid>
		<description>Yakov,

While that&#039;ll work for things created with a constructor, it won&#039;t work for literals.

new MyXML().customMethod(); // would work
&lt;root&gt;stuff&lt;/root&gt;.customMethod(); // no dice

The latter syntax is the one I&#039;m particularly interested in, because it&#039;s transparent.  You could also use a hybrid to make it work:

new MyXML(&lt;root&gt;stuff&lt;/root&gt;).customMethod();

Of course, that&#039;s not any better than what I&#039;ve got already:

new Query(&lt;query&gt;...&lt;/query&gt;).execute();</description>
		<content:encoded><![CDATA[<p>Yakov,</p>
<p>While that'll work for things created with a constructor, it won't work for literals.</p>
<p>new MyXML().customMethod(); // would work<br />
<root>stuff</root>.customMethod(); // no dice</p>
<p>The latter syntax is the one I'm particularly interested in, because it's transparent.  You could also use a hybrid to make it work:</p>
<p>new MyXML(<root>stuff</root>).customMethod();</p>
<p>Of course, that's not any better than what I've got already:</p>
<p>new Query(<query>&#8230;</query>).execute();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yakov Fain</title>
		<link>http://www.barneyb.com/barneyblog/2007/10/17/e4x-and-prototype-goodness/comment-page-1/#comment-43186</link>
		<dc:creator>Yakov Fain</dc:creator>
		<pubDate>Wed, 17 Oct 2007 19:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/10/17/e4x-and-prototype-goodness/#comment-43186</guid>
		<description>The fact that some classes are sealed in Flex should not stop you.
Create your own one-liner version when needed, i.e.

dynamic class MyXMLList extends XMLList{}

Now you can do whatever you want with MyXMLList.</description>
		<content:encoded><![CDATA[<p>The fact that some classes are sealed in Flex should not stop you.<br />
Create your own one-liner version when needed, i.e.</p>
<p>dynamic class MyXMLList extends XMLList{}</p>
<p>Now you can do whatever you want with MyXMLList.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
