Adding a parameter to an extension in the DITA-OT preprocessing

Skip to first unread message

Pierre Attar

Apr 1, 2021, 1:27:00 PMApr 1
to DITA-OT Users

Hi all,
Sorry for double posting here and in dita-users@ but I was not aware of this specialized dita-ot group.

So, I've created an extension to the DITA-OT topicpull process.

The extension is something like :

 <feature extension="ant.import" file="lr-solve.xml"/>
<feature extension="depend.preprocess.topicpull.pre" value="lr-solve" />

Of course, lr-solve.xml is an ant file containing the needed target.

This works in 3.6 using the xhtml5 transtype.

Unfortunately it does not works withe pdf2 transtype because pdf2 uses the preprocess2 mechanism and I don't knows how to name the feature extension.

Nevertheless, for this lr-solve process, I need to add a parameter to the transformation. Unfortunately, I only know how to add a parameter to a new or exiting transtype. I search in the DITA-OT documentation and did not found any documentation to add parameter to the preprocess.

So, my two questions :

- how to add a feature extension to the topicpull preprocess2 process ?

- how to add a parameter to an extension called both by the preprocess and the preprocess2 processes ?

Thanks for sharing ideas, Pierre

Radu Coravu

Apr 5, 2021, 6:39:57 AMApr 5
to Pierre Attar, DITA-OT Users
Hi Pierre,

I found this DITA OT issue with a larger discussion and more details about the missing extension points:

Hope this helps.


You received this message because you are subscribed to the Google Groups "DITA-OT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web, visit
Reply all
Reply to author
0 new messages