XSLT equivalent for JSON

Interesting idea. Some searching on Google produced a few pages of interest, including: an outline of how such a “jsonT” tool might be implemented, and some downloads some discussion of that implementation a company which may have implemented something suitable Hope this helps.

TypeError: list indices must be integers or slices, not list

This is a classic mistake. i in your case is already an element from array (i.e. another list), not an index of array (not an int), so You can check the Python tutorial. Also, try doing this: And see what you get! Also I would advise to stick to naming conventions: variables are normally lower-case (volume, not Volume). In this case i is misleading. row or elem would be much more suitable.

tech