Page 1 of 1

Generate specialized sample DITA files

Posted: Thu Dec 19, 2024 4:53 pm
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

Re: Generate specialized sample DITA files

Posted: Wed Dec 25, 2024 8:14 am
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

Re: Generate specialized sample DITA files

Posted: Mon Jan 06, 2025 12:15 pm
by Frank Ralf
Hi Radu,

Thanks for the pointers. I will try that.

Best regards,
Frank