Skip to main content
Inspiring
January 16, 2021
Question

DITA VAL Filtering does not work on ditamaps that are referenced as topics

  • January 16, 2021
  • 1 reply
  • 198 views

I have two DITA maps.  One is the top level.

 

<map xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
<title>Main DITA Map</title>
<topicref href="conceptA.xml" type="concept" product="A">
<topicmeta><navtitle>Concept A</navtitle></topicmeta></topicref>
<topicref href="conceptB.xml" type="concept" product="B">
<topicmeta><navtitle>Concept B</navtitle></topicmeta></topicref>
<topicref href="conceptC.xml" type="concept" product="A B">
<topicmeta><navtitle>Concept C</navtitle></topicmeta></topicref>
<topicref href="sub_filter.ditamap" format="ditamap"><topicmeta>
<navtitle>MAP TITLE</navtitle></topicmeta></topicref></map>

 

The second is referenced "sub_filter.ditamap"

 

<map xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
<title>Sub-DITA MAP</title>
<topicref href="conceptD.xml" type="concept" product="D">
<topicmeta><navtitle>Concept D</navtitle></topicmeta></topicref>
<topicref href="conceptE.xml" type="concept" product="E">
<topicmeta><navtitle>Concept E</navtitle></topicmeta></topicref></map>

 

I have a ditaval file as follows:

 

<val>
<prop att="product" val="A" action="exclude" />
<prop att="product" val="B" action="include" />
<prop att="product" val="D" action="exclude" />
<prop att="product" val="E" action="include" />
</val>

 

The problem I have is that the ditaval filtering is not working on the referenced ditamap, it only works on the top level.  In the above example: conceptA.xml was filtered out, but it failed to filter conceptD.xml.  

    This topic has been closed for replies.

    1 reply

    Inspiring
    January 6, 2023

    If I understand correctly, this might be the same issue reported in:

    https://tracker.adobe.com/#/view/FRMAKER-11816

    If so, perhaps you can vote on it (and maybe point that issue back to this post?)