Transformation scenario with multiple ditavals

zuza
Posts: 13
Joined: Fri May 13, 2016 5:34 pm

Transformation scenario with multiple ditavals

Post by zuza » Mon Feb 04, 2019 2:02 pm

Hello,

For our Release Notes we need to to specify 2 ditavals for publishing. This works fine when publishing from the command line, but I can't see a way to specify more than 1 ditaval when creating a profiling set by importing a ditaval, nor when configuring a transformation scenario in oXygen Editor. So I can't really see how my output will look like until I run the script to publish from the command line.

I am using oXygen 20.1 and DITA-OT 2.5.

Can you suggest any workaround for this? Can this be implemented in a later version of oXygen Editor?

To explain why we need 2 ditavals: 1 ditaval is product specific and is automatically generated from the product configuration. It contains hundreds of features which are either included or excluded, also specifies which values are included for @product based on a complex subject scheme map, and some values for @audience. This ditaval is/will be used when generating all product specific documents (such as Technical Reference Manual, Core User Guide, etc.).

The second ditaval (also automatically generated) is release specific (one product can have multiple releases) and contains release specific filters, such as release status (alpha, beta, final), customer, product release "label" (branch + version + configuration).


Thank you.

Best regards,
Ozana

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

Re: Transformation scenario with multiple ditavals

Post by Radu » Mon Feb 04, 2019 2:52 pm

Hi Ozana,

I understand your use case.
Indeed Oxygen's "Filters" tab which you usually use when configuring filters in a transformation scenario does not allow you to do that. We have an internal issue already added to improve our Filters tab by allowing our users to choose multiple DITAVAL files. We'll update this forum thread when we manage to make this improvement.
In the meantime, you can edit the transformation scenario, clear all the information you have set in the "Filters" tab, then go to the "Parameters" tab and edit the args.filter parameter and specify in it multiple ";" delimited paths just like you do in the command line with the --filter parameter:

https://www.dita-ot.org/2.5/parameters/ ... -base.html

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

zuza
Posts: 13
Joined: Fri May 13, 2016 5:34 pm

Re: Transformation scenario with multiple ditavals

Post by zuza » Mon Feb 04, 2019 5:49 pm

Thanks, Radu, that works.

Looking forward to the improved Filters tab!

Ozana

SubSkip
Posts: 2
Joined: Thu May 18, 2017 11:18 pm

Re: Transformation scenario with multiple ditavals

Post by SubSkip » Tue Jul 16, 2019 4:27 pm

Hi Radu,

Can you clarify how we are supposed to add the filters to the parameter? I've tried using the full path to the filters as well as just the two filters separated by a comma and neither worked. I get the message that the filters were not found. We have a flat file system.

Thanks!

-Craig

SubSkip
Posts: 2
Joined: Thu May 18, 2017 11:18 pm

Re: Transformation scenario with multiple ditavals

Post by SubSkip » Tue Jul 16, 2019 4:42 pm

Actually, I made a mistake and used a comma instead of a semicolon. This works as described. :D

Thanks!

-Craig

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

Re: Transformation scenario with multiple ditavals

Post by Radu » Wed Jul 17, 2019 8:32 am

Hi Craig,

Great, thanks for the update.

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

Post Reply