Adding Annotations to Subject Scheme

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 (9.76 KiB) Viewed 173 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>

Posts: 7589
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.

Radu Coravu
<oXygen/> XML Editor

Post Reply