Define standard parameter for transformation scenarios

Post here questions and problems related to oXygen frameworks/document types.
chrizzbee
Posts: 37

Define standard parameter for transformation scenarios

Wed Nov 04, 2015 7:29 pm

Hi

Is it possible (in oXygen 17/Eclipse) to set fix.external.ref.com.oxygenxml = true and generate.copy.outer = 3 as a default for all transformation scenarios? This means, even when I create a new one, that these two parameters are already set correctly?

Thanks.
Radu
Posts: 5386

Re: Define standard parameter for transformation scenarios

Fri Nov 06, 2015 10:41 am

Hi,

Sorry but we do not have such a setting. Maybe a possibility would be to create default transformation scenarios at document type/framework level having these parameters already set to the proper values. And all team members would use those read-only scenarios instead of creating new ones.

More about document type/extension sharing:

http://blog.oxygenxml.com/2015/08/document-type-extension-sharing.html

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

Re: Define standard parameter for transformation scenarios

Fri Nov 06, 2015 2:29 pm

Hi,

Maybe one more possibility would be to define your custom ANT build file which sets certain parameters and then calls the DITA OT main build.xml:
https://www.oxygenxml.com/doc/versions/17.1/ug-editor/index.html#topics/dita-map-use-your-own-build-file.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
chrizzbee
Posts: 37

Re: Define standard parameter for transformation scenarios

Mon Nov 09, 2015 4:45 pm

hi radu

thanks for sharing your ideas. your first solution came to my mind too. we probably go with this. maybe you could think of an enhancement here? define these standard settings in an XML ...?

bye bye and thanks again.
chris.
Radu
Posts: 5386

Re: Define standard parameter for transformation scenarios

Tue Nov 10, 2015 12:51 am

Hi Chris,

A framework configuration file (like the original OXYGEN_INSTALLI_DIR\frameworks\dita\dita.framework) is an XML file which has all the read-only predefined transformation scenarios serialized in it. But I do not have a good idea about how to keep separate XML files with the changed parameters.

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

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 1 guest