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 »
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
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
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: JSON TO XML file and creating style sheet
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service