← Prev in month ← Prev in thread

DOCBOOK-APPS: Index and Glossary references

From
Stephan Wiesner <>
Date
2002-11-06T07:36:14+00:00
ID
001a01c28566$ee755320$4900a8c0@littleone
Thread
DOCBOOK-APPS: Index and Glossary references
Hi list,
When I create an index (using XML and Saxon) and I want to take a
glossary term referenced in the text into it I encounter the following
problem.

This is my glossary term:
   <glossentry id="glossDocBook">
      <glossterm>DocBook</glossterm>
      <acronym id="glossDocBookA">DocBook</acronym>
      <glossdef>
         <para>
         DocBook is a very popular set of tags for describing books,
articles, 
	   ...
      </glossdef>
   </glossentry>


And here is the reference:
 <para><indexterm><primary><xref linkend="glossDocBook"
endterm="glossDocBookA"/>
   </primary></indexterm><xref linkend="glossDocBook"
endterm="glossDocBookA"/>
   is cool. 
   </para>  

The displayed text is correct: DocBook (which is a link to the glossary
)  
The generated index, however, contains just the pagenumber, but the Term
is left empty.
It works fine, when I don't use the reference link for it:
 <para><indexterm><primary>MyDocBook
   </primary></indexterm><xref linkend="glossDocBook"
endterm="glossDocBookA"/>
   is cool. 
   </para>  

Now the text contains "DocBook" and the index contains "MyDocBook",
which I consider correct.


Stephan
← Prev in month ← Prev in thread