XML to JSON transform

134 views
Skip to first unread message

John

unread,
Feb 13, 2009, 1:25:28 PM2/13/09
to JavaScript Information Visualization Toolkit
Hi there,

I found an XSL transform at http://code.google.com/p/xml2json-xslt/wiki/TransformingRules
that will take arbitrary XML and convert it to JSON. They name
different conversion conventions such as Rayfish, Badgerfish, and
Parker. Which one of these would work best for producing JSON that the
JIT can most easily consume?

I still haven't had time to dive into the code. If I can find such a
transform, then it will make a JIT project much more feasible.

Thanks,

John

Nico Garcia Belmonte

unread,
Feb 13, 2009, 4:27:46 PM2/13/09
to javascript-information...@googlegroups.com
Hi, that library seems suitable for the task of transforming XML into
the JSON input data you'd need to feed the visualizations.
You can find more information about the JSON data to feed the
visualizations here:

http://blog.thejit.org/javascript-information-visualization-toolkit-jit/#documentation

The transform seems pretty straighforward. Please let me know if you
find some problems with that.

I wouldn't recommend the BadgerFish convention at all however :S.

Regards,
--
I would never die for my beliefs because I might be wrong.

Bertrand Russell
Reply all
Reply to author
Forward
0 new messages