Skip to main content
November 19, 2014
Answered

Ditaval topic filtering

  • November 19, 2014
  • 1 reply
  • 461 views

Hi all,

I'm trying to filter out the first topic in a map using ditaval filtering for the otherprops attribute when creating a composite fm. I'm finding that I can filter tags inside the topic like a table or paragraph. Therefore,  I know that my ditaval filters work.  But  using the same otherprops setting does not work for the topic element. The first topic is always included in the output. Setting the otherprops attribute in the topicref element does not work either as already documented in this forum.

When I import the entire map and ditaval into oxygen, the filtering works as expected with first the topic removed.

Am I overlooking something? I am using framemaker12.0.2.

Thanks for your help.

This topic has been closed for replies.
Correct answer ScottPrentice

By "first topic in a map" is this a "top-level" topic? If so, I don't think you can do that in FM .. it doesn't matter where you set the filtering attribute .. on the topicref or the topic element, the result would be the same, which would remove the FM file from the generated book. Filtering is done through conditions being applied to each FM file in the book. You're trying to apply conditions (filtering) to FM files in the book .. FM can't do conditions at the book level. That's not to say this *shouldn't* work, it just can't due to the fact that FM uses conditions to apply filtering.

BTW .. DITA-FMx can't do this either .. yet.

…scott

1 reply

ScottPrentice
ScottPrenticeCorrect answer
Inspiring
November 19, 2014

By "first topic in a map" is this a "top-level" topic? If so, I don't think you can do that in FM .. it doesn't matter where you set the filtering attribute .. on the topicref or the topic element, the result would be the same, which would remove the FM file from the generated book. Filtering is done through conditions being applied to each FM file in the book. You're trying to apply conditions (filtering) to FM files in the book .. FM can't do conditions at the book level. That's not to say this *shouldn't* work, it just can't due to the fact that FM uses conditions to apply filtering.

BTW .. DITA-FMx can't do this either .. yet.

…scott