Removing the title tag in links

Issue

Customer does not want to see the title attribute in links

Solution

This will require a Format Override. If you are not familiar with customizations, you will simply

  1. Navigate to the default directory of your installer
  2. Chose the Formats version you are using, most likely it will be the most current version at the directory: C:\Program Files\WebWorks\ePublisher\[your version]\Formats\

  3. Create the directory structure Formats\[your format]\Transforms

Once you have created the override, you will copy the content.xsl file to your new directory. Search for the following code:

<xsl:if test="string-length($VarLinkInfo/@title) &gt; 0">
      <xsl:attribute name="title">
       <xsl:value-of select="$VarLinkInfo/@title" />
      </xsl:attribute>
     </xsl:if>

It will be located in different areas, depending on the Format you are using. This is not applicable to the following:

  • Palm Reader
  • PDF
  • PDF-XSL FO
  • MediaWiki

  • WinHelp

Refer to the lines in the following Formats for ePublisher 2009.3:

  • Dynamic Help, Eclipse Help -> 1623

  • HTML Help -> 1841

  • Microsoft Reader -> 1429

  • Oracle -> 1581

  • Simple HTML -> 1211

  • Java 1.1.3 -> 1465

  • Java 2.0 -> 1482

  • WWH -> 1957, 1984

  • Confluence Wiki -> 2977

  • MoinMoin Wiki -> 1590, 2996

  • XML + XSL -> 1574

Support advises to comment these lines out versus deleting them, so that you can backtrack if necessary.

Permalinks/Solutions/Overrides/RemovingTitleAttribute (last edited 2010-01-18 23:17:01 by LaurenLever)