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

Reply via email to