[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT functions for JSON

Subject: Re: XSLT functions for JSON
From: "M. David Peterson" <m.david@xxxxxxxxxxxxx>
Date: Sun, 18 May 2008 15:01:18 -0600
Re:  XSLT functions for JSON
On Sun, 18 May 2008 14:42:40 -0600, Jesper Tverskov <jesper@xxxxxxxxxxx> wrote:

It seems that the JavaScript at this site,
is doing a pretty good job of transforming XML to JSON.

Going from XML to JSON or JSON to XML isn't necessarily the problem. Isn't going from one to the other and then back again without a translation layer in between that's the problem, as far I am understanding the topic at hand correctly.

Sad that we don't have something similar in XSLT,  supposed to be a
programming language dedicated to XML transformation. Why do we need
JavaScript to transform XML?

You don't. You can take XML and convert it to whatever format you want, as long as you are willing to accept the fact that there are cases, such as arrays, where there will be a non-standard translation which disables you to go back to JSON without a translation layer that specfies the syntax used during the translation.


M. David Peterson
Co-Founder & Chief Architect, 3rd&Urban, LLC
Email: m.david@xxxxxxxxxxxxxxx | m.david@xxxxxx
Mobile: (206) 999-0588
http://3rdandUrban.com | http://amp.fm | http://www.oreillynet.com/pub/au/2354

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.