Reusing Glossary Term Definitions in Topics

Post here questions and problems related to editing and publishing DITA content.
Anne
Posts: 24
Joined: Wed Dec 05, 2018 2:48 pm

Reusing Glossary Term Definitions in Topics

Post by Anne »

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: 9473
Joined: Fri Jul 09, 2004 5:18 pm

Re: Reusing Glossary Term Definitions in Topics

Post by Radu »

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: 24
Joined: Wed Dec 05, 2018 2:48 pm

Re: Reusing Glossary Term Definitions in Topics

Post by Anne »

Thank you, this is helpful!

Anne
Post Reply