<?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: Automatic Casting Using XML</title>
	<atom:link href="http://jacwright.com/blog/57/automatic-casting-using-xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://jacwright.com/blog/57/automatic-casting-using-xml/</link>
	<description>Flex, AIR, PHP, etc.</description>
	<lastBuildDate>Thu, 29 Jul 2010 18:05:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Tyler Wright</title>
		<link>http://jacwright.com/blog/57/automatic-casting-using-xml/comment-page-1/#comment-8413</link>
		<dc:creator>Tyler Wright</dc:creator>
		<pubDate>Tue, 30 Jun 2009 14:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/57/automatic-casting-using-xml/#comment-8413</guid>
		<description>The casting isn&#039;t quite pure. XML(&quot;true&quot;) is still of type XML, and so &lt;code&gt;trace(XML(&quot;true&quot;) === true);&lt;/code&gt; outputs &lt;em&gt;false&lt;/em&gt;. The comparison &lt;code&gt;XML(&quot;56&quot;) == 56&lt;/code&gt; returns true, but the expression &lt;code&gt;XML(&quot;56&quot;) + 1&lt;/code&gt; evaluates to 561.

I&#039;m still hoping to find one more step that can bring this solution home, I&#039;d really like an easy method for simple-type casting like this.</description>
		<content:encoded><![CDATA[<p>The casting isn&#8217;t quite pure. XML(&#8220;true&#8221;) is still of type XML, and so <code>trace(XML("true") === true);</code> outputs <em>false</em>. The comparison <code>XML("56") == 56</code> returns true, but the expression <code>XML("56") + 1</code> evaluates to 561.</p>
<p>I&#8217;m still hoping to find one more step that can bring this solution home, I&#8217;d really like an easy method for simple-type casting like this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
