# XMLmind XML Editor - Online Help

### 11.1. Introduction

The document being edited is converted to other formats by the means of XSLT stylesheets.

Figure 9.3. Converting an XML document to an XSL-FO based format

This dialog box allows to:

- Select an XSLT stylesheet other the default one.

  Example: when converting a DocBook document to HTML, the default XSLT stylesheet generates HTML and does not support profiling. this dialog box allows to select any of the following alternate XSLT stylesheets: "Generate HTML; profiling stylesheet", "Generate XHTML", "Generate XHTML; profiling stylesheet".

- Create a custom XSLT stylesheet on the fly.

  A custom XSLT stylesheet created this way merely imports the stock XSLT stylesheet. Example:

      <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      version="1.0">
        <xsl:import href="xxe-config:docbook/xsl/fo/docbook.xsl"/>
        <!-- REDEFINE PARAMETERS AND ATTRIBUTE-SETS HERE -->
      </xsl:stylesheet>

  After such custom XSLT stylesheet has been created, the user is expected to add to it a number of parameters and attribute-sets.

- Invoke a specialized editor —XMLmind XSL Customizer— to modify a user-created XSLT stylesheet.

However, when the document being edited is converted to an HTML-based format (Web Help, EPUB, HTML Help, etc)[35], the HTML pages which are automatically generated by the aforementioned XSLT stylesheets are styled mainly by CSS stylesheets.

Figure 9.4. Converting an XML document to an HTML-based format

When this is the case, this dialog box allows additionally to:

- Select a CSS stylesheet other the default one.

- Create a custom CSS stylesheet on the fly.

  A custom CSS stylesheet created this way merely imports the stock CSS stylesheet. Example:

      @charset "UTF-8";
      @import url(__stock_html.css);
      /* ADD YOUR STYLES HERE */

  After such custom CSS stylesheet has been created, the user is expected to add to it a number of styles.

- Invoke a helper application (generally, a text editor) to modify a user-created CSS stylesheet.

[35] As opposed to XSL-FO based formats (PDF, RTF, .docx, .odt, etc).