Pages: 1
Print
Author Topic: Related Link Headings in PDF  (Read 2625 times)
bzebian
Member

Posts: 27


« on: August 18, 2009, 01:54:30 PM »

Some of our writers wanted related links to show in PDFs. I turned them on with the ANT argument & they show up fine. But I also set a header for them, and sometimes (not always) this header appears on topics that don't have related or child links. I can't discern any pattern. Has anyone seen this? I don't see it in the HTML output for the same map.

Here's the code I use to call the links from links.xsl:

    <xsl:template match="*[contains(@class,' topic/related-links ')]">
        <xsl:if test="$disableRelatedLinks = 'no'">
            <fo:block xsl:use-attribute-sets="related-links">
              Related Links
                <fo:block xsl:use-attribute-sets="related-links__content">
                    <xsl:apply-templates/>
                </fo:block>
            </fo:block>
        </xsl:if>
    </xsl:template>
Logged
Pages: 1
Print
Jump to: