This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Glossary in FO output: where should 'id' attribute go?
- From: "Paul A. Hoadley" <paulh at logicsquad dot net>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Sat, 08 Feb 2003 20:40:20 +1030
- Subject: DOCBOOK-APPS: Glossary in FO output: where should 'id' attribute go?
Hello,
I am using XSL stylesheets version 1.60.0, though the ChangeLog for
1.60.1 doesn't lead me to believe it would be different in that
version.
Following TDG, I have been placing 'id' attributes in the glossentry
elements within a glossary. This causes some peculiar rendering of
glosssee and glossseealso elements. This minimal example:
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE article SYSTEM "/usr/local/share/xml/docbook/docbookx.dtd">
<article>
<glossary>
<glossentry id="g:foo">
<glossterm>foo</glossterm>
<glossdef>
<para>Foo bar baz.</para>
</glossdef>
</glossentry>
<glossentry id="g:text">
<glossterm>text</glossterm>
<glosssee otherterm="g:foo">foo</glosssee>
</glossentry>
</glossary>
</article>
causes the following output in the resultant PDF:
---
Glossary
foo Foo bar baz.
text See fooFoo bar baz..
---
The text within the glossdef element of the target is placed between
"foo" and the full stop. Placing 'id="g:foo"' in the glossterm
element rather than the glossentry produces the expected output. Is
this a bug with the XSL, or have I missed something obvious?
--
Paul.
mailto:paulh@logicsquad.net
mailto:paul.hoadley@student.adelaide.edu.au