Topics

Where is the best place to suppress <draftintro> in the preprocessing pipeline?


Chris Papademetrious
 

Hi everyone,

I would like to exclude the <draftintro> bookmap element by default (but include it when args.draft==yes).

Looking at

https://www.dita-ot.org/dev/extension-points/plugin-extension-points-xslt-import.html
https://www.dita-ot.org/dev/reference/preprocessing.html

what's the best preprocessing XSLT extension point to do this? This exclusion seems most akin to profiling, but I don't see an explicit XSLT extension point for profiling, and I'm also not sure if map profiling happens earlier than topic profiling.

Thanks!

 - Chris