JSON TO XML file and creating style sheet

This should cover W3C XML Schema, Relax NG and DTD related problems.
Sreeram891
Posts: 5

JSON TO XML file and creating style sheet

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.


Regards,
Sreeram
Radu
Posts: 5492

Re: JSON TO XML file and creating style sheet

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:

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/20.0/ug-chemistry/

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

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 1 guest