Page 1 of 1

Overriding xsdDocDita.xsl

Posted: Tue Nov 07, 2017 11:07 pm
by blabarta

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?



Re: Overriding xsdDocDita.xsl

Posted: Wed Nov 08, 2017 9:28 am
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:

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.