[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: FW: [docbook-apps] Question on adjusting IDs for reused content
Sorry, forgot to include the list in my reply to Janice. Nick From: Wood Nick
Janice, Is
custom-docbook.xsl your fo customisation layer, if so, you probably have a
customised common.xsl stylesheet above this, and that is where the object.id customisation should go. Regards Nick From: Janice Manwiller [mailto:janice@sqrrl.com]
I've been working on reusing content in the doc set I work on. The guides are in a single WebHelp. - Using DocBook 5 - Output generated using the Maven docbkx plugin As pointed out in the DocBook XSL guide, if you reuse content that has an identifier, then in the WebHelp output, the TOC generates the correct links. However, because those links all point to the same file, when you click any of those
TOC links, the TOC selection bounces to the "first" instance. For example, you click a link in the Install Guide, and the TOC bounces to the entry in the Admin Guide. To avoid the TOC "bouncing", the DocBook XSL reference included a suggested customization to have the generation process append numbers to subsequent instances: I tried adding the template from this section to both custom-docbook.xsl (the main DocBook customization) and
docbook-webhelp.xsl (the WebHelp customization), but it didn't have any affect in either place. Am I putting the customization in the wrong place? Is there something else I'm missing? Thanks, Janice |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]