OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Checking for different types of links (xref vs link/linkend vs link/href)

Hi Janice,
Regarding your customization, are you using DocBook 5? If so, then the element name needs a d: namespace prefix in front of it.

<xsl:when test="self::d:xref">blue</xsl:when>

You also mentioned wanting link/href links to have blue, so that would be:


Regarding olinks not working in webhelp, I believe that was fixed. See the last comment in this bug report:


Bob Stayton
Sagehill Enterprises

On 10/28/2014 5:02 AM, Janice Manwiller wrote:
Is there a way in the customization layer to check for different types
of links?

What I want to do is in PDFs, do the following:

- For xref links (links within a guide) and link/href links (links to
websites), do the standard blue link text

- For link/linkend links (links to other guides), do not have any

The reason for this is that for our PDF output, where each guide is a
separate file, the links between guides do not work. They're currently
formatted as links, but aren't clickable.

In the WebHelp output, which is generated as a single collection, the
links do work, so I want to leave them as links in the source file.

I know that olinks are designed to be used for links between documents,
but my understanding is that olinks do not work in WebHelp output.

I tried a workaround in the FO XSL file where only xref links were blue:

                <xsl:when test="self::xref">blue</xsl:when>

But ended up with no formatting on any links.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]