subjectScheme for content completion

Post here questions and problems related to editing and publishing DITA content.
bcolborn
Posts: 2
Joined: Mon Feb 06, 2012 11:20 pm

subjectScheme for content completion

Post by bcolborn »

I am interested in defining allowed attribute values using a subjectScheme map. Creating the map is easy enough. The documentation indicates that I can reference the subjectScheme map for content completion: http://www.oxygenxml.com/doc/ug-authorE ... e-map.html

Following the links from this topic hoping to learn how to specify the subjectScheme map, I end up here: http://www.oxygenxml.com/doc/ug-authorE ... ation.html

But that still leaves me in the dark about how to associate DITA document types with a particular subjectScheme map. Does anyone know how to do this? Or do I have it all wrong?

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

Re: subjectScheme for content completion

Post by Radu »

Hi Ben,

A Subject Scheme Map is actually a DITA Map specialization.
Oxygen recognizes a DITA specialization on the fly so there is no need for you to create a document type definition for it.

Oxygen has new file templates for easily creating Subject Scheme Maps so if you use the New toolbar button and search for subject scheme you will be able to use the template to create and start editing a Subject Scheme map. The map should be edited in the main editor in the Text page. But from your post, I think you already know this.

Then, as the documentation you found states, the Subject Scheme Map needs to be referenced from your main DITA Map like:

Code: Select all

<topicref href="path/to/subjectScheme.ditamap" format="ditamap" type="subjectScheme"/>
This should be enough to show the values you have defined in the Subject Scheme map as proposals in the Attributes view when editing attributes for DITA elements.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
bcolborn
Posts: 2
Joined: Mon Feb 06, 2012 11:20 pm

Re: subjectScheme for content completion

Post by bcolborn »

I gave it another try and it worked as expected. I think the subjectScheme map had an incorrect though valid attribute. One feature request would be for the profiling attributes to pick up relevant values from a subjectScheme map. Thanks for the response Radu.

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

Re: subjectScheme for content completion

Post by Radu »

Hi Ben,
One feature request would be for the profiling attributes to pick up relevant values from a subjectScheme map.
Yes, we already have plans to implement this in a future version.
I'll update the forum thread when this happens.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9478
Joined: Fri Jul 09, 2004 5:18 pm

Re: subjectScheme for content completion

Post by Radu »

Hi Ben,

Oxygen 15.0 was just released. We made a quite significant number of Subject Scheme related improvements. This includes using the subject scheme map controlled values to gather profiling attribute values.
This video demonstration should cover most of the Subject Scheme related improvements we made:

http://www.oxygenxml.com/demo/DITA_Subject_Scheme.html

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