xsl-list
[Top] [All Lists]

Re: [xsl] XSLT functions for JSON

2008-05-18 08:09:20
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>