set profiling condition as parameter for dita command line

Post here questions and problems related to editing and publishing DITA content.
Annika
Posts: 2
Joined: Tue Oct 01, 2019 2:35 pm

set profiling condition as parameter for dita command line

Post 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
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: set profiling condition as parameter for dita command line

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply