Home > Articles > Web Services > XML

  • Print
  • + Share This
Like this article? We recommend

Like this article? We recommend

Using Parameters

XFC gains added flexibility from the Parameters area of the Transformation window. In this area, you can specify any of the DocBook parameters that you want to use when converting a document. The following table shows a few examples.




Sets the size of paper for which to format a document intended for print. For example, you can specify USLetter to set your document on an 8.5×11-inch page.


Include or exclude a table of contents


Specifies a Cascading Style Sheet (CSS) for use with (X)HTML, HTML Help, JavaHelp, or WebHelp output.


Includes bookmarks and hyperlinks in a PDF file.


Changes the width of the tables in a file.

You specify each parameter using a name-value pair. For example:

paper.type USLetter
alignment left
body.font.family sans-serif

Figure 2 shows the Parameters section of the Transformation window populated with sample values. The parameters shown in the figure are for use when converting DocBook XML files to PDF.

Figure 2Figure 2 Configuring DocBook parameters.


Documentation for the various parameters is included with the DocBook XML stylesheets. The best source of information on the parameters is Bob Stayton's excellent book DocBook XSL: The Complete Guide (Sagehill Enterprises, 2003).

  • + Share This
  • 🔖 Save To Your Account