Page 1 of 1
Override sample DITA attribute values
Posted: Wed Jun 10, 2015 5:44 pm
by chrizzbee
Hi there
Is it possible to override the sample attribute values defined for audience, platform, product, props, otherprops and rev? Are those values (expert, novice, mac, solaris, etc.) stored somewhere so I can provide my own values for them?
The reason I ask is, we define and manage our metadata attributes and their values in a PLM system and want to use them with in the DITA documents as well. Ok, we might need some attribute specification there, but that's another issue. First I would like to know if it is possible to override these attribute values somehow and provide own ones.
Thanks a lot!
Best regards
Chris.
Re: Override sample DITA attribute values
Posted: Thu Jun 11, 2015 8:41 am
by Radu
Hi Chris,
Sure, you can change the default profiling attribute values in the Preferences->
Editor / Edit modes / Author / Profiling/Conditional Text page.
We have a video which covers DITA profiling here:
http://www.oxygenxml.com/demo/DITA_Profiling.html
An alternative would be to define your profiling attributes in a Subject Scheme Map which is part of your DITA project:
http://www.oxygenxml.com/doc/ug-oxygen/ ... e-map.html
Regards,
Radu
Re: Override sample DITA attribute values
Posted: Thu Jun 11, 2015 9:47 am
by chrizzbee
Hi Radu
Thanks for your answers. The Subject Scheme Maps are indeed something to look into. The thing is, we pull your Oxygen during the build process of our software. That said, the profiling attributes are all pre-set with your default values. I am looking for an option now to change them in a post-process kind of a way, without touching them manually. I thought maybe these values are stored in some XML file somewhere I could overwrite with my own definitions.
Chris.
Re: Override sample DITA attribute values
Posted: Thu Jun 11, 2015 10:07 am
by Radu
Hi Chris,
I don't quite understand this remark:
The thing is, we pull your Oxygen during the build process of our software.
Also, are you using the standalone Oxygen or the Oxygen Plugin for Eclipse?
About having some kind of XML configuration file, we have this concept of default options which can be shared and used when Oxygen starts:
http://www.oxygenxml.com/doc/ug-oxygen/ ... tions.html
Regards,
Radu
Re: Override sample DITA attribute values
Posted: Thu Jun 11, 2015 10:42 am
by chrizzbee
Sorry, should have mentioned: yes, we use the Eclipse version of Oxygen.
Re: Override sample DITA attribute values
Posted: Thu Jun 11, 2015 10:51 am
by Radu
Hi Chris,
Then the link to the user's manual topic which discusses default options for the Oxygen Eclipse Plugin would be this one:
http://www.oxygenxml.com/doc/versions/1 ... tions.html
but using the Subject Scheme is indeed something which you could explore as an alternative.
Regards,
Radu
Re: Override sample DITA attribute values
Posted: Thu Jun 11, 2015 10:59 am
by chrizzbee
Hi Radu
I figured it out how it works! Cool stuff with the global options. I created a preferences folder in the Oxy-DIR and copied the exported XML to this location.
Thanks for help!
Chris.
Re: Override sample DITA attribute values
Posted: Thu Jun 11, 2015 4:39 pm
by chrizzbee
Radu,
One other thing that goes in the same direction:
I would like to define all block elements to have automatic ID generation and would like to define this as default for my Eclipse-Oxy. Are the ID-options entries for DITA also configurable as global attributes to export?
Re: Override sample DITA attribute values
Posted: Mon Jun 15, 2015 10:53 am
by Radu
Hi,
If you were using Oxygen 16.1 or newer, in the OXYGEN_PLUGIN/frameworks/dita/resources folder there is a file called idGenerationDefaultOptions.xml.
Those defaults are used as long as the end user does not make any changes on his own to the DITA auto-generation options.
Regards,
Radu