How to automatically apply a custom DITAVAL filter when opening a DITA map in Oxygen?

Post here questions and problems related to editing and publishing DITA content.
annasm
Posts: 1
Joined: Thu Nov 20, 2025 10:09 am
Contact:

How to automatically apply a custom DITAVAL filter when opening a DITA map in Oxygen?

Post by annasm »

Hi everyone,
I’m working on a DITA project in Oxygen XML Author and I’d like to streamline my workflow. Is there a way to configure Oxygen so that a specific custom DITAVAL file is automatically applied every time I open a particular DITA map?

I know I can manually apply profiling filters before publishing, but what I’m looking for is an automatic trigger—so that as soon as the map loads, Oxygen uses my predefined DITAVAL without needing extra steps.

Is this behavior supported, or is there a workaround (e.g., using project settings, custom transformation scenarios, or a plugin)?
Thanks!
Radu
Posts: 9585
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to automatically apply a custom DITAVAL filter when opening a DITA map in Oxygen?

Post by Radu »

Hi,

The current applied profiling condition sets are saved at project level, they are not saved per opened DITA Map.
So one would need to create a separate Oxygen project ".xpr" file in the Oxygen Project view and open it before opening the DITA Map, this would allow the applied profiling condition sets information to be saved in the specific project associated to the DITA Map.

There would also be the possibility to create a DITA OT project file which defines a context binding the DITA Map and ditaval file and deliverables for them.
Then use that DITA OT project file for publishing:
https://www.oxygenxml.com/doc/versions/ ... oject.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
xephon
Posts: 165
Joined: Mon Nov 24, 2014 1:49 pm
Location: Greven/Germany

Re: How to automatically apply a custom DITAVAL filter when opening a DITA map in Oxygen?

Post by xephon »

Hi,
using DITA-OT project files makes a lot of sense to specify DITAMAP-DITAVAL combinations but also transformation type and parameters.

All the best
Stefan
stefan-jung.org – Your DITA/DITA-OT XML consultant
Post Reply