Kurt Cagle: Bridging XML E4X and JSON

Using this title Kurt Cagle writes:

"I’d like to push a proposal to both the XML and AJAX communities, something that I think needs to be taken up by the W3C, the OpenAJAX alliance and JSON.org especially. Establish a set of conventions within JSON that most readily facilitate JSON being used in an XML context. These conventions should be syntactical, things that can be done with hash key naming conventions that can be picked up by a JSON/XML bridge to transform between the two formats."

 

Hmm…  here’s what I have to say:

Kurt, this was quietly done some time ago. Just have a look at my blog ("Transforming JSON"). M.David. Peterson has a nice web-service based example, which in real time gets the XML out of the JSON produced by the Yahoo’s Traffic Service.

This example just uses the JSON to XML convertor provided by FXSL — that is the function f:json-document(), written in pure XSLT.

So, no conventions are necessary for transforming JSON to XML !

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

One Response to Kurt Cagle: Bridging XML E4X and JSON

  1. Kurt says:

    Very, very cool!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s