11. Using a custom CSS style sheet to style the HTML files generated by the Convert Document submenu
Prev | Chapter 5. Customizing an existing configuration | Next

## 11. Using a custom CSS style sheet to style the HTML files generated by the Convert Document submenu

Procedure:

1. Copy your custom CSS style sheet to the `custom/` directory.

   Let's suppose the name of the custom CSS style sheet is `fancy.css`.

2. Add one or more of the following property configuration element to your custom `.xxe` file, depending on the kind of HTML files you want to style (HTML Help, Java Help, Eclipse Help and Epub are all HTML-based formats):

   Configuration Name | Convert to | Property Configuration Element
   --- | --- | ---
   DocBook v5+ | HTML multi-page |
       <property name="db5.toHTML.resource.css"
         url="true">fancy.css</property>
   HTML single page |
       <property name="db5.toHTML1.resource.css"
         url="true">fancy.css</property>
   HTML Help |
       <property name="db5.toHTMLHelp.resource.css"
         url="true">fancy.css</property>
   Java Help |
       <property name="db5.toJavaHelpStep1.resource.css"
         url="true">fancy.css</property>
   Eclipse Help |
       <property name="db5.toEclipseHelp.resource.css"
         url="true">fancy.css</property>
   Epub |
       <property name="db5.toEpub.resource.css"
         url="true">fancy.css</property>
   DocBook | HTML multi-page |
       <property name="docb.toHTML.resource.css"
         url="true">fancy.css</property>
   HTML single page |
       <property name="docb.toHTML1.resource.css"
         url="true">fancy.css</property>
   HTML Help |
       <property name="docb.toHTMLHelp.resource.css"
         url="true">fancy.css</property>
   Java Help |
       <property name="docb.toJavaHelpStep1.resource.css"
         url="true">fancy.css</property>
   Eclipse Help |
       <property name="docb.toEclipseHelp.resource.css"
         url="true">fancy.css</property>
   Epub |
       <property name="docb.toEpub.resource.css"
         url="true">fancy.css</property>

Prev | Up | Next
10. Customizing the XSLT style sheets used in the Convert Document submenu | Home | Chapter 6. Deploying XXE