[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: "Jesper Tverskov" <jesper@xxxxxxxxxxx>
Date: Sun, 18 May 2008 17:08:52 +0200
Re:  XSLT functions for JSON
Robert Koberg wrote:

> You can use an array to set order. This is a place where I wish FXSL
> would be more like the (reference?) implementation org.json's java
> library where when an object  or array is encountered in the JSON, the
> resulting XML is wrapped with 'o' and 'a' elements respectively.

Yes. My formulation is wrong. But as your answer indicates additional
decision making by the maker of the conversion function is needed:
Should I just reorder or should I add more complexity to JSON using
additional arrays in order to preserve order. As I can understand,
FXSL is not doing that. So at least we have an important issue that
could easily make an xml2json transformation wrong.

Jesper

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.