[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 09:03:09 -0600
Re:  XSLT functions for JSON
On Sun, 18 May 2008 08:54:01 -0600, Jesper Tverskov <jesper@xxxxxxxxxxx> wrote:

Sounds nice, but I don't know what it means.

Simple enough: If the value of 'bar' is 'baz', then /foo/bar applied to both an XML and JSON representation of any given data structure would result in 'baz'.

Also: Traditional
functions could come in handy in all the cases where transformation
works right away.

Sure. I'm not suggesting don't create the functions. Just that regardless of the functions, there will always be cases which there is no possible way to convert from one format to another. As such, if the desired result it to work with a data set regardless of its serialization, why not attempt to create a standardized subset of JSON in which, when adhered to, ensures that the same XPath applied to it will render to same generalized result as it would when applied to its XML "equivalent".

Of course, just such an effort might prove to be impossible. But it's worth thinking about none-the-less.


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.