Adding Annotations to Subject Scheme

diane_xml
Posts: 1
Joined: Thu May 20, 2021 5:34 am

Adding Annotations to Subject Scheme

Post by diane_xml » Thu May 20, 2021 6:39 am

How do you add annotations to the Subject Scheme so they will show up in the completion assistant dialog?

image.png
image.png (9.76 KiB) Viewed 126 times
Or is there a way to add the text with the <topicmeta>? I did not find any such information in the Subject Scheme Help File.

E.g. <subjectdef keys="WEB"><topicmeta><shortdesc>Responsive Web</shortdesc></topicmeta></subjectdef>

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

Re: Adding Annotations to Subject Scheme

Post by Radu » Thu May 20, 2021 7:48 am

Hi Diane,

Please use the <navtitle> element instead of <shortdesc>:

Code: Select all

<subjectdef keys="WEB"><topicmeta><navtitle>Responsive Web</navtitle></topicmeta></subjectdef>
We have plans to support by default also the shortdesc element as a way to obtain some rendering information for the subject def key, but in the meantime Oxygen looks only at the navtitle.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply