Page 1 of 1
subjectScheme for content completion
Posted: Tue Jun 12, 2012 3:41 am
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
Re: subjectScheme for content completion
Posted: Tue Jun 12, 2012 9:06 am
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
Re: subjectScheme for content completion
Posted: Tue Jun 12, 2012 8:14 pm
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
Re: subjectScheme for content completion
Posted: Wed Jun 13, 2012 9:04 am
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
Re: subjectScheme for content completion
Posted: Tue Jun 11, 2013 2:34 pm
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