xml to json for dhtmlx tree - any xslt?

I have searched the KB and could not find it.

I believe I am not the first asking for this - am I?

Trying use an existing xslt that takes the xml for dhtmlx tree and converts it to json. If you guys don’t have it I will need to create one.



Unfortunately , there is no such, ready to use solution.
It sounds as good addition, so we will try to add such tool in near future.

Here is what is working for me - first draft - i guess.  Files are attached.

test.xsl (1.7 KB)
data.xml.zip (269 Bytes)
data.json (107 Bytes)

Dear Radu,

Thank you very much for the provided solution. It can be useful for other users.