Subject scheme: values sorted alphabetically in oXygen

Post here questions and problems related to editing and publishing DITA content.
Frank Ralf
Posts: 482
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Subject scheme: values sorted alphabetically in oXygen

Post by Frank Ralf »

Hi,

I use Subject Scheme Maps for providing controlled attribute values for our authors. These values are always presented in alphabetical order in oXygen, either in the Attributes view or with code completion in Text mode. However, in most cases I would prefer that the values are displayed in the same order they are defined in the subject scheme map, for example:

Code: Select all


<subjectdef keys="periodic_table">
<subjectdef keys="hydrogen" />
<subjectdef keys="heliumn" />
<subjectdef keys="lithium" />
<subjectdef keys="beryllium" />
<subjectdef keys="boron" />
<subjectdef keys="carbon" />
<subjectdef keys="notrogen" />
<subjectdef keys="oxygen" />
</subjectdef>
It would be great if oXygen would provide such a setting.

Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Subject scheme: values sorted alphabetically in oXygen

Post by Radu »

Hi Frank,

A problem with displaying the values unsorted both in the Text mode content completion window and in the Attributes views (Text or Author) is that in all those places you have key search (type the first letters of the attribute value to find a match) and in order to have efficient key search the list needs to be sorted first. But this has been asked before so you have a valid use case. There is already an issue we have registered for this, I will add your comments to it. Possibly in a future version there will be a checkbox controlling this behavior as some people may want the current sorting.

As a partial workaround, in the Author editing mode you can right click inside an element, choose "Edit Profiling Attributes" and you should get the attribute values in exactly the same order in which they were defined in the subject scheme map.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Frank Ralf
Posts: 482
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: Subject scheme: values sorted alphabetically in oXygen

Post by Frank Ralf »

Hi Radu,

Thanks for this information and for adding this to the oXygen wish-list ;-)
I will try your workaround.

Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Post Reply