Generate specialized sample DITA files

Post here questions and problems related to editing and publishing DITA content.
Frank Ralf
Posts: 480
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Generate specialized sample DITA files

Post by Frank Ralf »

Hi,

I would like to use Oxygen's "Generate Sample XML Files" to generate sample DITA files for a customer specialization. However, the feature only works with XML Schema (XSD) whereas the DITA specialization has been implemented with modular DTD files as a DITA-OT plugin. I think I heard something about a script that "flattens" a DITA specialization into one DTD or XSD file from George Bina but cannot remember where to find it. Is there such a script available somewhere?

Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Radu
Posts: 9343
Joined: Fri Jul 09, 2004 5:18 pm

Re: Generate specialized sample DITA files

Post by Radu »

Hi Frank,
In the Oxygen main menu Tools->"Generate/Convert Schema dialog" one can attempt to convert DTD to XML Schema. But the DITA DTDs are quite complex, not sure if this will work.
George seemed to have a stylesheet to convert RNG to DTD but this is not what you want:
https://github.com/georgebina/dita-ng
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Frank Ralf
Posts: 480
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: Generate specialized sample DITA files

Post by Frank Ralf »

Hi Radu,

Thanks for the pointers. I will try that.

Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Post Reply