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 270 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: 7697
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

Cosmin Duna
Site Admin
Posts: 51
Joined: Wed Dec 12, 2018 5:33 pm

Re: Adding Annotations to Subject Scheme

Post by Cosmin Duna » Tue Oct 19, 2021 1:12 pm

Hi,
Oxygen 24.0 is out now and it supports shortdesc element as a way to obtain rendering information for the subject def key.

Regards,
Cosmin
Cosmin Duna
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply