(I'm looking for a workaround for Con 3 of Attempt 1 of this question.)
I have a DocBook 5 doc where some glossentry
tags contain multiple glossterm
tags.
The HTML output for xref
tags having a linkend
attribute equalling the xml:id
of a glossentry
looks good (the link text is the first glossterm
and the link correctly points to the glossentry
) except that its mouseover text (in the title
attribute of the HTML) concatenates all of the glossterm
texts together.
I would rather it just output the first glossterm
(or maybe separate the glossterm
s with /
or a.k.a
or something to indicate they're synonyms.)
How would I go about that? I'm new to DocBook and XSLT.