(register)   username:   password:  

Community KB :: DITA / FrameMaker

A collection of tips and troubleshooting information. Feel free to register and add your own items.

Tags:                                        
Keywords: 

FMN DITA .. refers to the DITA support that is provided by default in FM9 and FM8.

DITA-FMx .. is a plugin that provides extended DITA authoring support for FM9, FM8, FM7.2 and FM7.1. More info...

Submitted by: Scott Prentice (2010-02-08)

TAGS:  Authoring, Output, DITA-FMx 1.0, DITA-FMx 1.1, FM 7.2, FM 8.0, FM 9.0
SUMMARY:  How to use ditaval to apply change bars
ISSUE:  You want to use the @status attribute to mark changed content, and render those changes using change bars.
SOLUTION:  DITA-FMx has a command to let you apply conditions based on a ditaval file. If you mark the changed and new content using the @status attribute, then when you generate a book from the DITA map (using DITA-FMx), you can run the Apply Ditaval as Conditions command and have the changed content marked with changebars.

The ditaval file should contain the following ..

<val>
   <prop att="status" val="changed" action="include" />
   <prop att="status" val="new" action="include" />
</val>

If the conditions ("status=changed" and "status=new") use the changebar format (instead of underscore, etc.), and the conditions are set to show (instead of hide), you'll get changebars.

Note that this is not really the intended use of ditavals since the @status attribute is not typically considered a "filtering" attribute .. but it does work for FM-based publishing.