How to exclude text using both a DITIVAL file and "props"?
Posted: Sat Sep 12, 2020 12:59 am
My project uses two DITIVAL files to toggle between terminology used for two area of our product. They are used for shared topics where only a name differs. For example, we tag text with props="area1" and props="area2". We then use two DITIVAL files that contain:
We add the appropriate DITIVAL file to the appropriate ditamaps in our doc structure. In the paragraphs, we type values for both names and then "tag out" the one that doesn't belong in that chapter.
In addition, we've also defined normal "props" for hiding text in the WebHelp and hiding text in the PDF.
Our output transformation is configured so that the one for WebHelp excludes all text marked "Exclude WebHelp", and same for our PDF transformation.
I just discovered that, after looking more closely at the output, only the "props" settings are being respected. The DITVAL exclusions are not! I soon discovered why: the Oxygen setting uses radio buttons in the transformation Filters to specify which to use. Ours is set to use the profiling attributes. That explains why the DITIVAL settings are ignored. When I changed it to use the DITIVAL file, that works, but then the profiling attributes don't work!
My big question: How can I use BOTH profiling attributes and DITIVAL? Is that even possible? If not, how do I toggle between nomenclature used in different parts of my help, when shared topics are involved?
Finally, only one DITIVAL file can be specified in the transformation filter. But we use two DITIVALs in our project. Was that the wrong way to do it?
Code: Select all
<prop action="exclude" att="props" val="area1"/>
<prop action="exclude" att="props" val="area2"/>
In addition, we've also defined normal "props" for hiding text in the WebHelp and hiding text in the PDF.
Our output transformation is configured so that the one for WebHelp excludes all text marked "Exclude WebHelp", and same for our PDF transformation.
I just discovered that, after looking more closely at the output, only the "props" settings are being respected. The DITVAL exclusions are not! I soon discovered why: the Oxygen setting uses radio buttons in the transformation Filters to specify which to use. Ours is set to use the profiling attributes. That explains why the DITIVAL settings are ignored. When I changed it to use the DITIVAL file, that works, but then the profiling attributes don't work!
My big question: How can I use BOTH profiling attributes and DITIVAL? Is that even possible? If not, how do I toggle between nomenclature used in different parts of my help, when shared topics are involved?
Finally, only one DITIVAL file can be specified in the transformation filter. But we use two DITIVALs in our project. Was that the wrong way to do it?