DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion WebHelp Missing Parent Child Topic Links

  • twisted

    WebHelp Missing Parent Child Topic Links

    Participants 0
    Replies 1
    Last Activity 10 years, 9 months ago

    After moving to 7.0 I just noticed that when generating WebHelp that the Parent Topic Links are no longer being generated. How do I get them to start appearing again?



    Derek Read

    Reply to: WebHelp Missing Parent Child Topic Links

    It looks like the DITA OT project broke a parameter that used to default to 'no' in previous versions (and according to the documentation should still default to 'no'). This parameter tells the DITA OT whether or not to include parent links in outputs that support them. This is a setting on the XHTML transtype (which we expose as our “Multiple HTML files” deliverable), but many other deliverables use XHTML as part of the transformation (since at their core they use HTML files), this includes CHM, WebHelp, and the Java and Eclipse outputs.

    The problem parameter is an ANT parameter named “args.hide.parent.link” and is described here:

    Note that despite the fact that those docs say it defaults to 'no' (meaning that these links should not be hidden, meaning that they should actually be visible) the value seems to be defaulting to 'yes'.

    Forcibly setting this parameter to 'no' fixes the issue in my testing. You can do that for WebHelp as follows:

    1. On the Tools menu select Configure Output.
    2. Select “WebHelp” from the list then click Edit.
    3. In the dialog that appears (Edit Deliverable Type) click the second tab (Advanced).
    4. In the text area (Other output parameters) add the following to tell XMetaL to pass this parameter through to the DITA OT (via ANT):
    ANT_PARAM_args.hide.parent.link = no
    5. Click OK to dismiss all the dialogs.
    6. Generate output using the “WebHelp” deliverable.

    If you need to set it for any other output format you would select the corresponding deliverable in step 2.


  • You must be logged in to reply to this topic.

Lost Your Password?