Content completion attribute values and annotations

Post here questions and problems related to oXygen frameworks/document types.
Posts: 30
Joined: Mon Jan 23, 2017 11:20 am

Content completion attribute values and annotations

Post by bwbohl » Wed Aug 26, 2020 2:16 am

Hi Syncro Soft Team,

I wonder (an I feel like I remember): is there a way to configure by means of my frameworks cc_config.xml that the proposed values and corresponding annotations are switched?

E.g. instead of listing

val 1 --> popping up annotation 1
val 2 --> popping up annotation 2
val 3 --> popping up annotation 3

do it the other way roud:

annotation 1 --> popping up val 1
annotation 2 --> popping up val 2
annotation 3 --> popping up val 3

Alternatively I would like to sort the proposed values by a specified sortkey (not being annotation or value but a third string).

Hope you understand what I mean :-/

Or maybe I'd need a plugin for that?

Any help appreciated!
Many thanks in advance
oXygen XML Editor v18.1
macOS Sierra 10.12.6

Posts: 801
Joined: Wed Nov 16, 2005 11:11 am

Re: Content completion attribute values and annotations

Post by alex_jitianu » Thu Aug 27, 2020 9:30 am


Just to be sure I understand this correctly, you would want the CC window to present a label, a human friendly text, while inserting the actual, perhaps cryptic, value. Is that correct?

The cc_value.xml file doesn't currently offer such a feature. We do have an issue recorded and I will add your vote for it.

Where are these attributes going to be edited and how? In the Attributes view, in author's page form controls? We have a Java API to contribute to content completion and there is a possibility for it to provide some labels, but they are currently only the pop-up form control uses those labels.

Best regards,

Post Reply