Stacking profiling conditions/DITAVAL files
Posted: Thu Jan 07, 2021 5:36 pm
Is it possible to invoke multiple ditaval files on a single book map transform, or otherwise "stack" conditional processing rules?
Let's say I have 20 products, each with it's own ditaval file that is applied to a set of docs for each of my 20 products. Now, for all of these docs, I need to be able to easily toggle <revprop> styling to turn revision markup on/off depending on publication requirements. Does this mean I *must* create a new ditaval file for each revprop state, for each product, or is there a way to invoke one of my existing ditaval file, and apply some additional rules at build time?
I'm sure I can hack the DOTK to enable/disable revprops at build time, but this is undesirable. It would be ideal to be able to specify "use rules set 1 AND rule set 2", I'm just not sure if how...
Let's say I have 20 products, each with it's own ditaval file that is applied to a set of docs for each of my 20 products. Now, for all of these docs, I need to be able to easily toggle <revprop> styling to turn revision markup on/off depending on publication requirements. Does this mean I *must* create a new ditaval file for each revprop state, for each product, or is there a way to invoke one of my existing ditaval file, and apply some additional rules at build time?
I'm sure I can hack the DOTK to enable/disable revprops at build time, but this is undesirable. It would be ideal to be able to specify "use rules set 1 AND rule set 2", I'm just not sure if how...