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:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]

Reply via email to