Hi,
some variables in a m2doc template may be optional, i.e. when the template is used for certain models they need not be mapped to any model element at all. So, effectively, in such case their value would be null and thus it would be possible, using m:if, to control what is included in the m2doc template. So, depending on the model, such optional parts are present in the generated document or not without a need to have any definition of constant names of elements in the template itself which belong into the genconf. E.g. a diagram may not be present in the Capella model causing the corresponding chapter to be left out in the document.
However, it is not possible in the genconf to define null values for variables.
Does anybody have an idea how could this use case be implemented in m2doc?
br
Marek