We'll explain how to customize a stock conversion by using the
following example: change the paper type of conversion specification
dbToPDF — convert a DocBook 4 document to PDF using Apache
FOP — from the "A4" default value to
"USLetter".
Procedure
- Start XMLmind XSL Utility by executing xslutil -p E:\opt\xslsrv
&.
- Select dbToPDF, the conversion specification to be
modified.
- Click the Edit button.
- Select the Transform tab.
- Click the Add button to add XSLT
stylesheet parameter paper.type=USLetter.
- Click OK twice to close all the dialog
boxes.
- Click Quit to quit XMLmind XSL
Utility.
Next time you'll convert a DocBook 4 document to PDF,
XMLmind XSL Server will automatically use your updated
dbToPDF conversion specification.
Notice that stopping
and then restarting XMLmind XSL Server was not needed in order to
customize a stock conversion.
|
Remember
XMLmind XSL Utility has other uses related to
XMLmind XSL Server.
-
It allows to specify a custom font map for Apache FOP. For
example, use Verdana instead of the sans-serif
logical font family.
However in such case, you'll have to
stop and then restart XMLmind XSL Server.
-
It allows to specify helpers applications, for example, the
location of the HTML Help compiler, hhc.exe ,
which is needed to convert a DITA document to HTML Help
(.chm file).
When this is the case, you do
not need to stop and then restart XMLmind XSL
Server.
|