Website Deliverables - Previous Next Index Print
Modifying the TOC content in the XML+XSL format

Modifying the TOC content in the XML+XSL format

Last Modified: June 8, 2006

ePublisher Pro

The purpose of this aricle is to explain how to modify the content of the TOC page when using the XML+XSL format.

If you are using the the XML+XSL format for your online help and you want to change the formatting of the content on the TOC page (e.g. changing the font of the TOC entries), then you must perform a target override on and modify the “document.xsl” file.

Troubleshooting Steps

The first part is to create a target override on the document.xsl file, which is located in the installation directory. Be default the installation directory is located at C:\Program Files\WebWorks\ePublisher Pro\Formats\XML+XSL\Files\xsl. For more information on creating target overrides read “Creating Project Target Overrides”. Once you have created your target override on document.xsl, you may modify this file to affect the formatting of the content of the TOC. The following steps represent only a simple example demonstrating how you can extend the capabilities of ePublisher Pro.

<xsl:template match=”*[@wp:type = ‘def-data’]”>


Look for the <dd> tag directly beneath the above line of code.


In this <dd> tag you will add a style attribute. This will change the style of the TOC page.

Example: <dd style=”font-family: Arial”>

You will now see that the content of the TOC page in the XML+XSL format output has been changed to the style that you added to the <dd> tag in the document.xsl file.