JSON TO XML file and creating style sheet

This should cover W3C XML Schema, Relax NG and DTD related problems.
Posts: 7
Joined: Tue May 08, 2018 1:40 pm

JSON TO XML file and creating style sheet

Post by Sreeram891 » Wed Jun 06, 2018 12:57 pm

Hello team,

I am currently working for a company where i want to streamline the process of API documentation from word documents to XML documents.

So, my idea is to get an JSON file from developer where the APIs information is written and convert that JSON file to XML using Oxygen XML Editor and prepare a document with that XML file.

My question is, can we prepare a stylesheet for that XML file and convert that to multiple outputs so that the end user can use the document?

Also, i want to prepare a stylesheet so that company's brand guideline can also be included in the document.


Posts: 7528
Joined: Fri Jul 09, 2004 5:18 pm

Re: JSON TO XML file and creating style sheet

Post by Radu » Wed Jun 06, 2018 2:42 pm

Hi Sreeram,

Once you have the XML content you can create an XSLT stylesheet in Oxygen which applied on the XML content can generate HTML output.
XSLT tutorial:


or if you want to obtain PDF output, Oxygen comes with an engine called Chemistry which allows you to create a CSS and use it to obtain a PDF from the XML content:

https://www.oxygenxml.com/doc/versions/ ... chemistry/

Radu Coravu
<oXygen/> XML Editor

Post Reply