Revisions¶
db2ooxml supports revisions and revision flags for <phrase/>
elements. Those revisions will be displayed as changes in the
generated OpenXML documents, with an optional author and date given by
the matching revision history. To mark certain portions of paragraphs
as modified, insert an inner <phrase/>
element, and set its
revisionflag attribute:
<para>… <phrase revisionflag="deleted">of the input
to the decision process,
such as MT activity for direction discrimination models
<citation>Mazurek2003</citation></phrase> …</para>
where revisionflag
can be either deleted
or added
.
If you want to specify an author and/or a date for the revision, you
have to insert a revision history in a parent, for instance in the
root <info/> element:
<article xmlns="http://docbook.org/ns/docbook" version="5.0">
<info>
<revhistory>
<revision>
<revnumber>10.20</revnumber>
<date>2014-10-20</date>
<authorinitials>É.T.</authorinitials>
</revision>
…
</revhistory>
You can then refer to a specific revision by setting the revision
attribute of the <phrase/>
element to match the value set in a
corresponding <revnumber/>.
<para>… <phrase revisionflag="deleted" revision="10.20">of the input