<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Remove Annoying XML Namespaces in Flex/AS3</title>
	<atom:link href="http://brianmriley.wordpress.com/2008/03/14/remove-xml-namespaces-in-flex-or-as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://brianmriley.wordpress.com/2008/03/14/remove-xml-namespaces-in-flex-or-as3/</link>
	<description>Anything RIA relevant...</description>
	<lastBuildDate>Fri, 06 Nov 2009 17:57:51 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tom</title>
		<link>http://brianmriley.wordpress.com/2008/03/14/remove-xml-namespaces-in-flex-or-as3/#comment-41</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 26 Oct 2009 11:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://brianmriley.wordpress.com/?p=10#comment-41</guid>
		<description>Nop:

Use: 

buffer = buffer.replace(new RegExp(&#039;&lt;*:&#039;,&#039;gi&#039;),&#039;_&#039;);

Sorry ;-)</description>
		<content:encoded><![CDATA[<p>Nop:</p>
<p>Use: </p>
<p>buffer = buffer.replace(new RegExp(&#8216;&lt;*:&#039;,&#039;gi&#039;),&#039;_&#039;);</p>
<p>Sorry <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://brianmriley.wordpress.com/2008/03/14/remove-xml-namespaces-in-flex-or-as3/#comment-40</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 26 Oct 2009 11:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://brianmriley.wordpress.com/?p=10#comment-40</guid>
		<description>You should not remove the namespace!

A very easy way to get rid of them, is:

Replace the :: by _ !

&lt;media::thumbnail .. becomes &lt;media_thumbnail ...

No namespace, but no conflict in your XML!

That is the solution!</description>
		<content:encoded><![CDATA[<p>You should not remove the namespace!</p>
<p>A very easy way to get rid of them, is:</p>
<p>Replace the :: by _ !</p>
<p>&lt;media::thumbnail .. becomes &lt;media_thumbnail &#8230;</p>
<p>No namespace, but no conflict in your XML!</p>
<p>That is the solution!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Smith</title>
		<link>http://brianmriley.wordpress.com/2008/03/14/remove-xml-namespaces-in-flex-or-as3/#comment-30</link>
		<dc:creator>Aaron Smith</dc:creator>
		<pubDate>Tue, 07 Jul 2009 07:40:37 +0000</pubDate>
		<guid isPermaLink="false">http://brianmriley.wordpress.com/?p=10#comment-30</guid>
		<description>what you should do is use a namespace proxy object - everything you attempt to access first goes through the proxy object, forwards the call the XML object, but automatically prefixes it with the namespace.

like this:

http://codeendeavor.com/gsdocs/net/guttershark/util/XMLNamespaceProxy.html</description>
		<content:encoded><![CDATA[<p>what you should do is use a namespace proxy object &#8211; everything you attempt to access first goes through the proxy object, forwards the call the XML object, but automatically prefixes it with the namespace.</p>
<p>like this:</p>
<p><a href="http://codeendeavor.com/gsdocs/net/guttershark/util/XMLNamespaceProxy.html" rel="nofollow">http://codeendeavor.com/gsdocs/net/guttershark/util/XMLNamespaceProxy.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vibrator</title>
		<link>http://brianmriley.wordpress.com/2008/03/14/remove-xml-namespaces-in-flex-or-as3/#comment-29</link>
		<dc:creator>Vibrator</dc:creator>
		<pubDate>Mon, 18 May 2009 20:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://brianmriley.wordpress.com/?p=10#comment-29</guid>
		<description>This is a great post. I’ve been working on this all day, and this is the only solution I’ve found that works! Thanks!!!</description>
		<content:encoded><![CDATA[<p>This is a great post. I’ve been working on this all day, and this is the only solution I’ve found that works! Thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rooney</title>
		<link>http://brianmriley.wordpress.com/2008/03/14/remove-xml-namespaces-in-flex-or-as3/#comment-28</link>
		<dc:creator>Matt Rooney</dc:creator>
		<pubDate>Mon, 18 May 2009 13:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://brianmriley.wordpress.com/?p=10#comment-28</guid>
		<description>@Joe:

Because if you try to use the XMLListCollection as a dataprovider for a DataGrid it will not work without using a labelFunction.</description>
		<content:encoded><![CDATA[<p>@Joe:</p>
<p>Because if you try to use the XMLListCollection as a dataprovider for a DataGrid it will not work without using a labelFunction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://brianmriley.wordpress.com/2008/03/14/remove-xml-namespaces-in-flex-or-as3/#comment-22</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Fri, 03 Apr 2009 19:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://brianmriley.wordpress.com/?p=10#comment-22</guid>
		<description>Just curious about the reasoning...

Why don&#039;t you just use the namespace that is sent back? If you are calling the web service you&#039;ll know what namespace is being returned.

namespace nsToUse = &quot;http://api.website.com/api/&quot;;
use namespace nsToUse;

var xlc:XMLListCollection = new XMLListCollection(xml.YourNodeHere);

Much better for performance.</description>
		<content:encoded><![CDATA[<p>Just curious about the reasoning&#8230;</p>
<p>Why don&#8217;t you just use the namespace that is sent back? If you are calling the web service you&#8217;ll know what namespace is being returned.</p>
<p>namespace nsToUse = &#8220;http://api.website.com/api/&#8221;;<br />
use namespace nsToUse;</p>
<p>var xlc:XMLListCollection = new XMLListCollection(xml.YourNodeHere);</p>
<p>Much better for performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Belair</title>
		<link>http://brianmriley.wordpress.com/2008/03/14/remove-xml-namespaces-in-flex-or-as3/#comment-21</link>
		<dc:creator>Eric Belair</dc:creator>
		<pubDate>Mon, 23 Mar 2009 20:52:53 +0000</pubDate>
		<guid isPermaLink="false">http://brianmriley.wordpress.com/?p=10#comment-21</guid>
		<description>This is a great post. I&#039;ve been working on this all day, and this is the only solution I&#039;ve found that works! Thanks!!!</description>
		<content:encoded><![CDATA[<p>This is a great post. I&#8217;ve been working on this all day, and this is the only solution I&#8217;ve found that works! Thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Holmes</title>
		<link>http://brianmriley.wordpress.com/2008/03/14/remove-xml-namespaces-in-flex-or-as3/#comment-20</link>
		<dc:creator>Brian Holmes</dc:creator>
		<pubDate>Sat, 14 Mar 2009 19:45:19 +0000</pubDate>
		<guid isPermaLink="false">http://brianmriley.wordpress.com/?p=10#comment-20</guid>
		<description>It blows up if there is more than one namespace however, because the children elements that use typed namespaces are then not bound. I changed regex to 
 
new RegExp(&quot;xmlns=[^\&quot;]*\&quot;[^\&quot;]*\&quot;&quot;, &quot;gi&quot;); 

to just remove the default namespace and it worked great. I can still access the bound children using the :: syntax. Anyways, thanks for the example.</description>
		<content:encoded><![CDATA[<p>It blows up if there is more than one namespace however, because the children elements that use typed namespaces are then not bound. I changed regex to </p>
<p>new RegExp(&#8220;xmlns=[^\"]*\&#8221;[^\"]*\&#8221;", &#8220;gi&#8221;); </p>
<p>to just remove the default namespace and it worked great. I can still access the bound children using the :: syntax. Anyways, thanks for the example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darn them XML namespaces! &#124; Psyked</title>
		<link>http://brianmriley.wordpress.com/2008/03/14/remove-xml-namespaces-in-flex-or-as3/#comment-19</link>
		<dc:creator>Darn them XML namespaces! &#124; Psyked</dc:creator>
		<pubDate>Mon, 01 Dec 2008 08:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://brianmriley.wordpress.com/?p=10#comment-19</guid>
		<description>[...] it with a wildcard would let me access the data.  Kudos to the blog posts of Riley (Got RIA?) : Remove Annoying XML Namespaces in Flex / AS3 and Getting around unknown namespaces in Flex / [...]</description>
		<content:encoded><![CDATA[<p>[...] it with a wildcard would let me access the data.  Kudos to the blog posts of Riley (Got RIA?) : Remove Annoying XML Namespaces in Flex / AS3 and Getting around unknown namespaces in Flex / [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AS3でXMLの名前空間を削除する &#124; ClockMaker Blog</title>
		<link>http://brianmriley.wordpress.com/2008/03/14/remove-xml-namespaces-in-flex-or-as3/#comment-15</link>
		<dc:creator>AS3でXMLの名前空間を削除する &#124; ClockMaker Blog</dc:creator>
		<pubDate>Tue, 02 Sep 2008 15:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://brianmriley.wordpress.com/?p=10#comment-15</guid>
		<description>[...] Remove Annoying XML Namespaces in Flex/AS3 « Got RIA? [...]</description>
		<content:encoded><![CDATA[<p>[...] Remove Annoying XML Namespaces in Flex/AS3 « Got RIA? [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
