Page 1 of 1

Generate XSLT for XML-to-JSON based on schema.json

Posted: Mon Oct 19, 2020 9:09 pm
by Fiona Chen
Hello:
I am not sure if this feature is available in Oxygen:

Can such XSLT be generated for XML-to-JSON based on JSON schema constructs?

There is

Code: Select all

Tools
to transform XML to JSON but not generate XSLT?

Cheers!

Re: Generate XSLT for XML-to-JSON based on schema.json

Posted: Tue Oct 20, 2020 12:29 pm
by tavy
Hello,

For the XML-to-JSON conversion we do not use XSLT. We use the json.org library. Therefore, we cannot generate an XSLT for this conversion.

Best Regards,
Octavian

Re: Generate XSLT for XML-to-JSON based on schema.json

Posted: Tue Oct 20, 2020 11:02 pm
by Fiona Chen
Thank you!
I do utilise XSLT 3.0 to convert XML to JSON.
We have Spring framework which plugin the json.org to transform all kinds of data format to JSON.
So I am evaluating new options...