Combining ditavalref and conref (processing order?)
Posted: Tue Oct 24, 2017 2:45 pm
Hi,
I just wanted to quickly check if I am doing something unsupported. Profiling inside an element that is included with a conref, that worked well when using the editor profiling filters does not work when applying the same filters with a ditavalref.
EDIT:
I found this page, http://www.dita-ot.org/2.4/dev_ref/proc ... order.html, that explains that DITA-OT filters before resolving conrefs, but it does not mention any difference in order depending on how the DITAVAL file is refrenced (by ditavalref or as part of buildfile).
END EDIT.
I have a ditamap that includes another map by use of a topicref. A ditavalref element is used to reference a file containing a general exclude and a list of includes.
The ditaval file principally looks like this (exact products and features replaced by generics):
One of the dita-files in the prodspec_content_map.ditamap references content from a dita-file with a number of reusable text elements that also have profiling attributes assigned. This reference is used using conrefs:
This worked as expected when I used the Profiling Filter tool in the DITA Maps Manager, instead of the ditavalref as described above. Now, with the ditavalref it seems that the content included by the conrefs is output as completely unprofiled! The profiling is still visible in the editor. Does anyone recognize this?
I just wanted to quickly check if I am doing something unsupported. Profiling inside an element that is included with a conref, that worked well when using the editor profiling filters does not work when applying the same filters with a ditavalref.
EDIT:
I found this page, http://www.dita-ot.org/2.4/dev_ref/proc ... order.html, that explains that DITA-OT filters before resolving conrefs, but it does not mention any difference in order depending on how the DITAVAL file is refrenced (by ditavalref or as part of buildfile).
END EDIT.
I have a ditamap that includes another map by use of a topicref. A ditavalref element is used to reference a file containing a general exclude and a list of includes.
Code: Select all
<topicref href="prodspec_content_map.ditamap" format="ditamap">
<ditavalref href="filters.ditaval"/>
</topicref>
Code: Select all
<val>
<prop action="exclude"/>
<prop action="include" att="product" val="Product_A" />
<prop action="include" att="product" val="All_products" />
<prop action="include" att="props" val="Feature_1"/>
<prop action="include" att="props" val="Feature_2"/>
<prop action="include" att="props" val="Feature_3"/>
</val>
Code: Select all
<ph conref="../reusable/c_ruse_text.dita#c_ruse_text/reuse_lo_limit"/>