Home | Contact Us | 1-877-693-2967 | Support Login
Automated Content Transformation Software
Support Central
ePublisher –Tour –Latest Release –See Our Help (Reverb) –Live Webinar –Free Trial –Packages –Purchase
Resource Center –Webinars –Whitepapers –Videos –Our Bloggers –Events Calendar –Newsletter
Documentation –Official Product Help –  Access PDFs for printing –Community Help (Wiki) –Archived Technical Notes
Customer References –Case Study: Pitney Bowes –Live Implementations –Companies
Latest Release (2011.3)
ePublisher 2011.3
Website Deliverables - webworks.com 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.

1)

Right-click on document.xsl and open it in your preferred text editor.

2)

Search for the string def-data.

3)

Find the following line of code:

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

4)

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

5)

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”>

6)

Save and close document.xsl.

7)

Regenerate your ePublisher Pro project. Select Project > Regenerate All.

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.

w3c logo XHTML 1.0 Valid XHTML 1.0 CSS Valid CSS WAI-A Web Accessibility Initiative, Level A Conformance


Products | Services | Partners | Resources | Support | Company | News | Contact | Site Map

Copyright © 2011 Quadralay Corporation. All rights reserved.
WebWorks and Quadralay are registered trademarks of Quadralay Corporation.