You can export the settings of the XSLT Stylesheet Documentation dialog to an XML
file by pressing the "Export settings" button. With the exported settings file you can
generate the same documentation from the command line by running the script
stylesheetDocumentation.bat
(on Windows) /
stylesheetDocumentation.sh
(on Mac OS X / Unix / Linux) located
in the <oXygen/> installation folder. The script can be integrated in an external batch
process launched from the command line.
The command line parameter of the script is the relative path to the exported XML settings file. The files which are specified with relative paths in the exported XML settings will be made absolute relative to the directory from where the script is run.
Example 4.15. Example of an XML configuration file
<serialized version="11.0"> <map> <entry> <String xml:space="preserve">xsl.documentation.options</String> <xslDocumentationOptions> <field name="includeTemplates"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="includeFunctions"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="includeVariables"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="includeGlobalParameters"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="includeAttributeSets"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="includeCharacterMaps"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="includeKeys"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="includeOutputs"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="includeDecimalFormats"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="includeImportedIncludedStylesheets"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="detailsNamespace"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="detailsLocation"> <Boolean xml:space="preserve">false</Boolean> </field> <field name="detailsParameters"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="detailsSource"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="detailsReferences"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="detailsSupersedes"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="detailsReturnType"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="detailsOverriding"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="detailsUsedBy"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="detailsDocumentation"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="detailsDocumentationUseComments"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="detailsImportPrecedence"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="unexpandedOutputFile"> <String xml:space="preserve">${cfn}.html</String> </field> <field name="splitMethod"> <Integer xml:space="preserve">3</Integer> </field> <field name="openOutputInBrowser"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="format"> <Integer xml:space="preserve">1</Integer> </field> <field name="customXSL"> <null></null> </field> <field name="deleteXMLFiles"> <Boolean xml:space="preserve">true</Boolean> </field> <field name="includeIndex"> <Boolean xml:space="preserve">true</Boolean> </field> </xslDocumentationOptions> </entry> </map> </serialized>