[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] glosssee generating ???Title??? for fo output
No luck.
Here are the same errors.
Request for title of element with no title: glossdef
Request for title of element with no title: glosssee
Request for title of element with no title: glossdef
I am using the examples from the TDG docbook.
Thanks,
Joy
-----Original Message-----
From: Mauritz Jeanson [mailto:mj@johanneberg.com]
Sent: Tuesday, August 22, 2006 11:40 AM
To: Joy Andree; docbook-apps@lists.oasis-open.org
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
(http://docbook.org/tdg5/en/html/glossary.html)?
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)"/>
/MJ
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]