Overriding xsdDocDita.xsl

blabarta
Posts: 1

Overriding xsdDocDita.xsl

Tue Nov 07, 2017 11:07 pm

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: 5088

Re: Overriding xsdDocDita.xsl

Wed Nov 08, 2017 9:28 am

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/19.1/ug-editor/topics/customizing-xml-schema-documentation.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

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

Who is online

Users browsing this forum: No registered users and 1 guest