Now data in JSON format is being used very frequently. People are using JSON for REST api call. There is a huge rquiremnt to produce JSON string from XML by appling XSLT. So there is a need of XSLT Code to prouduce JSON string from XML. This tool generate XSLT code to proudce JSON string. Just need to provide source XML and target JSON String. It will generate XSLT code to transform the source xml and target JSON.
The XSLT For JSON supports XML namespace and JSON. Declaration of xml name space needs to be done on the root XML element level for both source and target xml.
Please avoid reference of any dtd. Example : <!DOCTYPE raml SYSTEM
How It Works:
It first check the validity of the source XML and target JSON input.
Analyse both source XML and target JSON. Convert them to templace. Apply
code generation algorithim to generate XSLT code which can produce JSON
String. It takes care of namespace if its defined in source or target
XML. . Input Parameters are:
- Source XML: Source XML (parent XML) which will be transformed
- Target JSON: Its the desired output JSON.
- Add Root Element: Whether to add root tag in the target JSON.