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] glosssee generating ???Title??? for fo output

> -----Original Message-----
> From: Joy Andree 
> When I use the glosssee and glossalso in a glossentry the 
> output is not the content of the glossterm.
> <fo:block>See Also ???TITLE???</fo:block>
> Using the examples from docbook to make sure my ids and 
> otherterms matched up gave me the same results.

Did you by any chance try the examples in TDG for DocBook 5

The glossary.xsl stylesheets for HTML and FO take no account of the 'xml:id'
attribute, which replaces 'id' in Docbook 5. In the templates with
match="glossentry/glosssee" and "glossseealso", this is what the "targets"
variable looks like:

<xsl:variable name="targets" select="//node()[@id=$otherterm]"/>

It can be fixed like this:

<xsl:variable name="targets" select="key('id', $otherterm)"/>


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