1.4.3.1. Stylesheet option dialog box

Figure 1.18. Stylesheet option dialog box

Stylesheet option dialog box

New stylesheet template
Imported XSL

Specifies standard stylesheets imported to the user stylesheet. The external stylesheets are appended only to new stylesheets, not to reopened stylesheet files.

<xsl:import href="/usr/share/xsl/docbook/html/docbook.xsl"/>

The stylesheet files are separeted by semicolon “;”.

The default value is http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl.

Stylesheet version

Specifies stylesheet version.

<xsl:stylesheet version="1.0">

The default value is 1.0.

Add FO namespace

If this toggle is checked, the FO namespace definition is added to the stylesheet definition. FO namespace definition is added only to new stylesheets, not to reopened stylesheet files.

<xsl:stylesheet xmlns:fo="http://www.w3.org/1999/XSL/Format">

The default value is no.

Stylesheet format
Rearrange save

If this toggle is checked, reopened stylesheets are sorted into parameter groups according to the editor parameter subsections. Unknown elements are left without changes at the beginning of the stylesheet file.

If this toggle is not checked, the order of tags is kept as in the origin file and new tags are added to the end of stylesheet.

New files are saved with rearrange save.

Default value is no.

Generate comments

If this toggle is checked, generated comments are appended behind each parameter group in the stylesheet file.

Default value is yes.

Use select in parameters

If this toggle is checked, the attribute select is used in parameter definitions e.g.

<xsl:param name="paper.type" select="A4"/>

Otherwise simple definition is used e.g.

<xsl:param name="paper.type">A4</xsl:param>

Default value is no.

Output file
Output encoding

Specifies stylesheet file encoding – UTF-8, UTF-16BE, UTF-16LE, US-ASCII, WINDOWS-1250, ISO-8859-1, ISO-8859-2.

<?xml version='1.0' encoding='windows-1250'?>

Default value is UTF-8.

End of line

Specifies ends of lines in the stylesheet file – WIN (CR+LF), UNIX (LF) or MAC (CR).

Default value is WIN (CR+LF).