Hi,
You can use the
Conditional processing(filtering) DITA mechanism to filter(remove) some part of the HTML output.
DITA defines attributes that are specifically intended to enable filtering or flagging of individual elements. Those attributes are @audience, @platform, @product, @otherprops, @props, and @rev (flagging only). This enables the creation of topics and maps that can be dynamically configured at processing time to reflect a specific set of conditions, using the DITA-defined conditional processing profile (DITAVAL).
In your case, you can specify the 'otherprops' attribute on the backmatter element:
Code: Select all
<backmatter otherprops="not_html">
...
After that, you have to create a DITAVAL file with the following content. It defines that the elements with attribute
otherprops="not_html" will be excluded from the output:
Code: Select all
<val>
<prop action="exclude" att="otherprops" val="not_html" />
</val>
Also, you have to specify the DITAVAL file in Filters tab from the transformation scenario dialog. See:
https://www.oxygenxml.com/doc/versions/ ... lters.html