Reusing Glossary Term Definitions in Topics

Anne
Posts: 21
Joined: Wed Dec 05, 2018 2:48 pm

Reusing Glossary Term Definitions in Topics

Post by Anne » Wed Dec 19, 2018 1:49 pm

Hello,

I'd like to create an introductory topic that explains the main terms and concepts of a product, reusing some of the term definitions already existing in a glossary. But a <term keyref=...> link only opens a glossary topic separately.
Is it possible to reuse glossary term definitions in topics similarly to conkeyrefs?

Thanks,
Anne

Radu
Posts: 7212
Joined: Fri Jul 09, 2004 5:18 pm

Re: Reusing Glossary Term Definitions in Topics

Post by Radu » Thu Dec 20, 2018 10:39 am

Hi Anne,

Just so that we can discuss a common example, there is a glossentry example here:

https://www.oxygenxml.com/dita/1.3/spec ... entry.html

So you mean that you want to use the <glossdef> content somewhere else?
Maybe one way would be to define a phrase with an ID inside it:

Code: Select all

<glossdef><ph id="phid">A small portable drive.</ph></glossdef>
and then use a ph with conkeyref in some other place to refer to this particular ph element. Something like:

Code: Select all

<ph conkeyref="glossKey/phid"/>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Anne
Posts: 21
Joined: Wed Dec 05, 2018 2:48 pm

Re: Reusing Glossary Term Definitions in Topics

Post by Anne » Wed Dec 26, 2018 1:24 pm

Thank you, this is helpful!

Anne

Post Reply