<?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: BadgerFish: Translating XML to JSON</title>
	<atom:link href="http://ajaxian.com/archives/badgerfish-translating-xml-to-json/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/badgerfish-translating-xml-to-json</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: fiat lux (cahier lukhnos) &#187; ObjectiveFlickr: ContactsBrowser Demo</title>
		<link>http://ajaxian.com/archives/badgerfish-translating-xml-to-json/comment-page-1#comment-106324</link>
		<dc:creator>fiat lux (cahier lukhnos) &#187; ObjectiveFlickr: ContactsBrowser Demo</dc:creator>
		<pubDate>Tue, 26 Sep 2006 19:56:02 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/badgerfish-translating-xml-to-json#comment-106324</guid>
		<description>[...] The conversion follows the convention set by BadgerFish. I didn&#8217;t handle namespaces though. [...]</description>
		<content:encoded><![CDATA[<p>[...] The conversion follows the convention set by BadgerFish. I didn&#8217;t handle namespaces though. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cau Guanabara</title>
		<link>http://ajaxian.com/archives/badgerfish-translating-xml-to-json/comment-page-1#comment-20065</link>
		<dc:creator>Cau Guanabara</dc:creator>
		<pubDate>Mon, 05 Jun 2006 20:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/badgerfish-translating-xml-to-json#comment-20065</guid>
		<description>My english is very bad, but I believe that the communication can be established...

I developed a JSON - XML translator in Javascript and, to do that with BadgerFish, i found some difficulties.   
There is no orientation to work with comments or CDATA sections...
I didn&#039;t find anything about it, because of that i used arbitrarily the characters &quot;!&quot; for comments and &quot; #&quot; for CDATA sections, besides implementing the suggestion to the text fragments in $1, $2, ... properties.

The script was not very tested, but it looks good. Works well.

Test: http://www.pousadabocaina.com.br/webmaster/json/jsontest.html</description>
		<content:encoded><![CDATA[<p>My english is very bad, but I believe that the communication can be established&#8230;</p>
<p>I developed a JSON &#8211; XML translator in Javascript and, to do that with BadgerFish, i found some difficulties.<br />
There is no orientation to work with comments or CDATA sections&#8230;<br />
I didn&#8217;t find anything about it, because of that i used arbitrarily the characters &#8220;!&#8221; for comments and &#8221; #&#8221; for CDATA sections, besides implementing the suggestion to the text fragments in $1, $2, &#8230; properties.</p>
<p>The script was not very tested, but it looks good. Works well.</p>
<p>Test: <a href="http://www.pousadabocaina.com.br/webmaster/json/jsontest.html" rel="nofollow">http://www.pousadabocaina.com.br/webmaster/json/jsontest.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BarelyBlogging &#187; Blog Archive &#187; links for 2006-04-22</title>
		<link>http://ajaxian.com/archives/badgerfish-translating-xml-to-json/comment-page-1#comment-7547</link>
		<dc:creator>BarelyBlogging &#187; Blog Archive &#187; links for 2006-04-22</dc:creator>
		<pubDate>Sat, 22 Apr 2006 00:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/badgerfish-translating-xml-to-json#comment-7547</guid>
		<description>[...] BadgerFish: Translating XML to JSON (tags: ajax json php javascript) [...]</description>
		<content:encoded><![CDATA[<p>[...] BadgerFish: Translating XML to JSON (tags: ajax json php javascript) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Sklar</title>
		<link>http://ajaxian.com/archives/badgerfish-translating-xml-to-json/comment-page-1#comment-7405</link>
		<dc:creator>David Sklar</dc:creator>
		<pubDate>Fri, 21 Apr 2006 00:13:17 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/badgerfish-translating-xml-to-json#comment-7405</guid>
		<description>Jeremy -- you actually can&#039;t have an attribute named &quot;xmlns&quot; (or, that is, if you did, it has to be what&#039;s setting the namespace). And if you had a child element named &#039;xmlns&#039;, it wouldn&#039;t collide with the attribute -- the attribute is &quot;@xmlns&quot; while the child element is &quot;xmlns&quot;.

Jon -- the convention on translation from XML to JSON is language neutral. You are right, however, that so far libraries have only been written (that I am aware of) for PHP and Ruby. I have been noodling around with a Javascript version as well, but I need to fix a few IE-specific bugs in it before it&#039;s ready for release.</description>
		<content:encoded><![CDATA[<p>Jeremy &#8212; you actually can&#8217;t have an attribute named &#8220;xmlns&#8221; (or, that is, if you did, it has to be what&#8217;s setting the namespace). And if you had a child element named &#8216;xmlns&#8217;, it wouldn&#8217;t collide with the attribute &#8212; the attribute is &#8220;@xmlns&#8221; while the child element is &#8220;xmlns&#8221;.</p>
<p>Jon &#8212; the convention on translation from XML to JSON is language neutral. You are right, however, that so far libraries have only been written (that I am aware of) for PHP and Ruby. I have been noodling around with a Javascript version as well, but I need to fix a few IE-specific bugs in it before it&#8217;s ready for release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://ajaxian.com/archives/badgerfish-translating-xml-to-json/comment-page-1#comment-7129</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Tue, 18 Apr 2006 16:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/badgerfish-translating-xml-to-json#comment-7129</guid>
		<description>It looks like this is only for PHP and Ruby users.  If it was a Javascript library it would be server-language neutral, right?</description>
		<content:encoded><![CDATA[<p>It looks like this is only for PHP and Ruby users.  If it was a Javascript library it would be server-language neutral, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Haley</title>
		<link>http://ajaxian.com/archives/badgerfish-translating-xml-to-json/comment-page-1#comment-7118</link>
		<dc:creator>Jason Haley</dc:creator>
		<pubDate>Tue, 18 Apr 2006 12:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/badgerfish-translating-xml-to-json#comment-7118</guid>
		<description>&lt;strong&gt;Interesting Finds&lt;/strong&gt;

</description>
		<content:encoded><![CDATA[<p><strong>Interesting Finds</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Dunck</title>
		<link>http://ajaxian.com/archives/badgerfish-translating-xml-to-json/comment-page-1#comment-7078</link>
		<dc:creator>Jeremy Dunck</dc:creator>
		<pubDate>Mon, 17 Apr 2006 21:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/badgerfish-translating-xml-to-json#comment-7078</guid>
		<description>Would it be too much to ask that the magick xmlns attribute not pollute the &quot;normal&quot; attribute namespace?

I could have an element named xmlns, couldn&#039;t I?

How about normal attribs get prefixed with &quot;@&quot;, while namespaces get prefixed with &quot;:&quot;?</description>
		<content:encoded><![CDATA[<p>Would it be too much to ask that the magick xmlns attribute not pollute the &#8220;normal&#8221; attribute namespace?</p>
<p>I could have an element named xmlns, couldn&#8217;t I?</p>
<p>How about normal attribs get prefixed with &#8220;@&#8221;, while namespaces get prefixed with &#8220;:&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Brooks</title>
		<link>http://ajaxian.com/archives/badgerfish-translating-xml-to-json/comment-page-1#comment-7069</link>
		<dc:creator>Marc Brooks</dc:creator>
		<pubDate>Mon, 17 Apr 2006 19:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/badgerfish-translating-xml-to-json#comment-7069</guid>
		<description>&lt;heresy tr=&quot;http://www.w3.org/TR/REC-xml-names/&quot;&gt;
Does it have an option to NOT emit the namespace stuff? I can&#039;t imagine a javascript client application really using that in a real world way
&lt;/heresy&gt;</description>
		<content:encoded><![CDATA[<p>&lt;heresy tr=&#8221;http://www.w3.org/TR/REC-xml-names/&#8221;&gt;<br />
Does it have an option to NOT emit the namespace stuff? I can&#8217;t imagine a javascript client application really using that in a real world way<br />
&lt;/heresy&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

