JSON TO XML file and creating style sheet

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

JSON TO XML file and creating style sheet

Post by Sreeram891 »

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.


Regards,
Sreeram
Radu
Posts: 9041
Joined: Fri Jul 09, 2004 5:18 pm

Re: JSON TO XML file and creating style sheet

Post by Radu »

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:

https://www.w3schools.com/xml/xsl_intro.asp

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/

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply