DITAVAL precedence or priority
Posted: Fri Nov 16, 2018 3:30 pm
Hi,
I have a customer facing document built on a ditamap. In this ditamap I use topicref to include another ditamap. In the same topicref, after the ditamap I have a ditavalref referencing a ditaval file. The structure basically looks like this:
map_2 contains a topic with filtered content.
The ditaval_1 file contains:
I use this method to filter out content that should not be included in the document sent to the customer. That content has the attribute "otherprops" set to "Internal".
I generate the customer facing version with a scenario specifying no additional ditaval file.
For internal purpose I want to use a ditaval_2 file to include the internal content.
The ditaval_2 file contains:
I apply this ditaval_2 file in this scenario by referencing it on the Filters tab under "Use DITAVAL file". My intention is that it should be applied in addition to the
This does not work as I hoped.
I can get the wanted results if I instead change the files as follows and reverse the purpose (internal vs external) of each transformation scenario:
The ditaval_1 file contains:
The ditaval_2 file contains:
Using the second strategy would cause other issues, and I would like to understand why the first strategy does not work!
I have a customer facing document built on a ditamap. In this ditamap I use topicref to include another ditamap. In the same topicref, after the ditamap I have a ditavalref referencing a ditaval file. The structure basically looks like this:
Code: Select all
<map_1>
<topicref map_2>
<ditvalref ditaval_1/>
</topicref>
</map_1>
The ditaval_1 file contains:
Code: Select all
<val>
<prop action="exclude"/>
</val>
I generate the customer facing version with a scenario specifying no additional ditaval file.
For internal purpose I want to use a ditaval_2 file to include the internal content.
The ditaval_2 file contains:
Code: Select all
<val>
<prop action="include" att="audience" val="Internal"/>
</val>
This does not work as I hoped.
I can get the wanted results if I instead change the files as follows and reverse the purpose (internal vs external) of each transformation scenario:
The ditaval_1 file contains:
Code: Select all
<val>
<prop action="exclude"/>
<prop action="include" att="audience" val="Internal"/>
</val>
Code: Select all
<val>
<prop action="exclude" att="audience" val="Internal"/>
</val>