Overriding xsdDocDita.xsl

Post here questions and problems related to editing and publishing DITA content.
blabarta
Posts: 4
Joined: Tue Nov 07, 2017 10:54 pm

Overriding xsdDocDita.xsl

Post by blabarta »

Hi,

I have a trial key for oXygen Editor 19.1. I am testing the editor for an upcoming WSDL and XSD project.

I modified the generateMapFromIndex template in the xsdDocDita.xsl file to generate a <bookmap> element instead of a <map> element for the DITA output setting, but I still get a DITA map after running Tools > Generate Documentation > XML Schema Documentation. Is overriding templates "turned off" in the trial version of the software?

Thanks!

Brian
Radu
Posts: 9445
Joined: Fri Jul 09, 2004 5:18 pm

Re: Overriding xsdDocDita.xsl

Post by Radu »

Hi Brian,

The trial version of Oxygen is not limited in any way.
There is a "xsdDocDita.xsl" in our frameworks folder (which is mostly a starting point for customizations) and there is a "xsdDocDita.xsl" in our main Oxygen compiled library. Usually the one inside our main library is used. For example here's how you customize the XSLT for Docbook generation:

https://www.oxygenxml.com/doc/versions/ ... ation.html

In the "XML Schema Documentation" dialog you should choose the "Custom" and choose the path to your customized XSLT.
Also for DITA customizations you must select the Split output into multiple files option in the Output tab and choose Split by component.

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