9. Parametrizing the XSLT style sheets used in the Convert Document submenu

Add one or more parameterGroup configuration elements to your custom .xxe file:

<parameterGroup name="Name of the parameter group">
  <parameter name="Name of parameter #1">Value or parameter #1</parameter>
  <parameter name="Name of parameter #2">Value or parameter #2</parameter>
  <parameter name="Name of parameter #3">Value or parameter #3</parameter>
</parameterGroup>

Which parameters to specify is found by reading the documentation of the XSLT style sheets. For example, the reference manual of the DocBook XSLT style sheets is: DocBook XSL Stylesheet Documentation.

Configuration NameConvert toName of the parameterGroup

DITA

DITA Map

DITA BookMap

XHTML multi-page

dita.toXHTML.transformParameters
XHTML single pagedita.toXHTML1.transformParameters
HTML Helpdita.toHTMLHelp.transformParameters
Eclipse Helpdita.toEclipseHelp.transformParameters
Web Helpdita.toWebHelp.transformParameters
EPUBdita.toEPUB.transformParameters
RTF, WordprocessingML, OpenDocument, OOXMLdita.toRTF.transformParameters
PDF, PostScriptdita.toPS.transformParameters

DocBook Assembly 5.1, 5.2

HTML multi-page

asm.toHTML.transformParameters
HTML single pageasm.toHTML1.transformParameters
HTML Helpasm.toHTMLHelp.transformParameters
Eclipse Helpasm.toEclipseHelp.transformParameters
Web Helpasm.toWebHelp.transformParameters
EPUBasm.toEpub.transformParameters
RTF, WordprocessingML, OpenDocument, OOXMLasm.toRTF.transformParameters
PDF, PostScriptasm.toPS.transformParameters

DocBook 5.1, 5.2

HTML multi-page

db51.toHTML.transformParameters
HTML single pagedb51.toHTML1.transformParameters
HTML Helpdb51.toHTMLHelp.transformParameters
Eclipse Helpdb51.toEclipseHelp.transformParameters
Web Helpdb51.toWebHelp.transformParameters
EPUBdb51.toEpub.transformParameters
RTF, WordprocessingML, OpenDocument, OOXMLdb51.toRTF.transformParameters
PDF, PostScriptdb51.toPS.transformParameters

DocBook 5.0

HTML multi-page

db5.toHTML.transformParameters
HTML single pagedb5.toHTML1.transformParameters
HTML Helpdb5.toHTMLHelp.transformParameters
Eclipse Helpdb5.toEclipseHelp.transformParameters
Web Helpdb5.toWebHelp.transformParameters
EPUBdb5.toEpub.transformParameters
RTF, WordprocessingML, OpenDocument, OOXMLdb5.toRTF.transformParameters
PDF, PostScriptdb5.toPS.transformParameters

DocBook 4

HTML multi-page

docb.toHTML.transformParameters
HTML single pagedocb.toHTML1.transformParameters
HTML Helpdocb.toHTMLHelp.transformParameters
Eclipse Helpdocb.toEclipseHelp.transformParameters
Web Helpdocb.toWebHelp.transformParameters
EPUBdocb.toEpub.transformParameters
RTF, WordprocessingML, OpenDocument, OOXMLdocb.toRTF.transformParameters
PDF, PostScriptdocb.toPS.transformParameters

XHTML Strict

XHTML Transitional

XHTML 1.1

XHTML 5

RTF, WordprocessingML, OpenDocument, OOXML

xhtml.toRTF.transformParameters
PDF, PostScriptxhtml.toPS.transformParameters

Example: Use UTF-8 encoding when convert DocBook documents to multi-page HTML:

<parameterGroup name="docb.toHTML.transformParameters">
  <parameter name="chunker.output.encoding">UTF-8</parameter>
  <parameter name="saxon.character.representation">native;decimal</parameter>
</parameterGroup>

Example: When converting DocBook 5.0 document to RTF, WordprocessingML, OpenDocument, OOXML or to PDF, PostScript, style variablelist like XXE does it on screen. That is, do not put the term and its definition side by side.

<parameterGroup name="db5.toRTF.transformParameters">
  <parameter name="variablelist.as.blocks">1</parameter>
</parameterGroup>

<parameterGroup name="db5.toPS.transformParameters">
  <parameter name="variablelist.as.blocks">1</parameter>
</parameterGroup>