Skip to main content
Participating Frequently
November 18, 2014
Question

Ditaval Map-Level Filtering?

  • November 18, 2014
  • 1 reply
  • 536 views

FM 11.02.384 / DITA 1.2

How do I get FM to use a ditaval to filter at the map level?

I have two major product families to address in my manuals. They are very similar in some ways, and so I would like to use one map for certain chapters where I reuse a lot of content. I built the map and specified "product" attributes at the map level for the ditaval to filter out, but this is ignored on output. So I tried the attributes at the top level in the topic file--the <concept>, <task>, and so on--and it still doesn't work.

I kind of get that the message is "If you really don't want something in your map, use a different map," but I feel like it's got to be possible to filter at the map level.

Am I wrong, or am I missing something?

Thanks

Edit to add: What I'm really asking is to be able to do this at the book map level. The map-level filtering seems to work with a chapter map alone, but once I put it into a book map, the filtering is ignored.

This topic has been closed for replies.

1 reply

ScottPrentice
Inspiring
November 18, 2014

Hi ohnehosen...

Someone else may have better info for you, but I'll offer my understanding.

I think what you're seeing is what you get from FM11. Yes .. it *should* work, but, as you're seeing, there are limitations. FM12 may have made this work somewhat better, like I believe that the filtering in the sub maps should work (no guarantees though) .. but I don't think that you'll get filtering on the top level topicref (chapter) nodes.

DITA-FMx does support map-level filtering on all nodes except the root nodes (top-level topicrefs) for each generated chapter file. The reason for this is because filtering is done through conditions, there's no way to conditionalize an entire FM file (well, you could hide all of the content, but you'd still have a file, which would cause pagination problems).

I think that your options are to either use multiple maps, or to use DITA-FMx.

If you have FM12 (or can install a trial), you might give it a try there, but I think the top-level topicref issue will still remain.

Cheers,

Scott Prentice

Leximation, Inc.

www.leximation.com

ohnehosenAuthor
Participating Frequently
November 19, 2014

Hi Scott,

That's what I was afraid of. Thanks for the answer all the same. I'll be contacting you through your website with some questions about DITA-FMx.

Thanks again!