XML to DITA XML conversion

akhoy
Posts: 7

XML to DITA XML conversion

Mon Oct 30, 2017 11:13 am

Hi,

I'm trying to convert generic XML data to DITA XML. I was able to find a plugin for converting HTML to DITA (h2d) but none for this. Please let me know if there's any plugin for this and the steps that are needed to be done.

Thanks.
Radu
Posts: 5088

Re: XML to DITA XML conversion

Mon Oct 30, 2017 4:09 pm

Hi,

As the XML data is written in a generic vocabulary you will probably need to write an XSLT stylesheet to convert it to DITA or something else.
You can use Oxygen to create the XSLT stylesheet and apply it over the XML.

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

Re: XML to DITA XML conversion

Tue Oct 31, 2017 8:58 am

Thanks. Can you please tell me how I can use Oxygen to generate the stylesheet? I'm not that familiar with Oxygen.
Radu
Posts: 5088

Re: XML to DITA XML conversion

Tue Oct 31, 2017 9:11 am

Hi,

XSLT is not a technology unique to Oxygen, it is a standard for processing and converting XML documents.
And Oxygen allows you to create and run XSLT stylesheets over XML documents:

https://www.oxygenxml.com/doc/versions/19.1/ug-editor/topics/editing-xslt-stylesheets.html

There are various tutorials for learning XSLT available online:

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


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

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 1 guest