Develop Conditional Content
You can publish deliverables for different audiences by applying conditional processing attributes to the DITA content and filtering it with DITAVALs during publication.
Profile Topic Elements
Use the Content Editor to apply conditional processing attributesto elements in a topic for conditional publishing.
audience, rev, platform,
product, props, and
otherprops.Profile Map Elements
Use the Content Editor to set conditional processing attribute values and profile an entire topic (topicref element) or a submap (mapref element) for conditional publishing.
audience,
rev, platform, product,
props, and otherprops.Create a DITAVal
Create a DITAVAL containing include or exclude rules to filter content at publish or during editing.
Preview Profiled Content in Content Editor
While editing a topic in the Content Editor, you can view the topic with conditional content as it would display in the final, filtered output.
The content is grayed out or hidden in the Content Editor. When you close the file, the default conditional view setting of show is restored for all values.
Filter Content in Content Editor with a DITAVAL
- In the Map Editor, from the Context drop-down menu, select Add a ditaval filter.
- Navigate to and select a DITAVAL.
- Click Select.
The Context menu settings are cleared as soon as you close the map.
Add a DITAVAL to a Map
Your map contains a ditavalref element that references the DITAVAL file. For example:
<ditavalref href="_Global_Shared/DITAVALs/user-guide-customer-facing-online.ditaval"/>
When publishing the map or previewing it with PDF Generator, filters in the DITAVAL file are automatically applied to content.