Page 1 of 1

set profiling condition as parameter for dita command line

Posted: Tue Aug 25, 2020 3:45 pm
by Annika
Hello,

I want to build an ANT script that triggers the DITA command line. It should contain the current set condition profiling as filter attribute.
If I use a DITA-OT transformation in Oxygen this can be selected. Is there a way to transfer this value via a simple ANT script?

Regards,
Annika

Re: set profiling condition as parameter for dita command line

Posted: Tue Aug 25, 2020 3:58 pm
by Radu
Hi Annika,

When you publish from Oxygen using a profiling condition set, Oxygen actually dynamically created a temporary DITAVAL filter file from it and sends it as a parameter in the command line.
So if you are interested in making filtering work from the command line, you will need to create a DITAVAL file, afterwards you can edit your profiling condition set and have it refer to that DITAVAL file so that you do not duplicate logic.

Regards,
Radu