[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|