Tracked Changes XML Markup
Depending on the type of edits, the following markup appears in the document source code when
you activate the Track Changes
feature:
Edit Type | Processing Instruction Start Marker | Processing Instruction End Marker | Attributes |
---|---|---|---|
Insertion | <?oxy_insert_start?> |
<?oxy_insert_end?> |
Common Attributes |
Split | <?oxy_insert_start?> |
<?oxy_insert_end?> |
Common Attributes, type="split" |
Surround | <?oxy_insert_start?> |
<?oxy_insert_end?> |
Common Attributes, type="surround" |
Deletion | <?oxy_delete?> |
_ | Common Attributes,
content |
Comment | <?oxy_comment_start?> |
<?oxy_comment_end?> |
Common Attributes, mid ,
parentID
|
Attribute Change | <?oxy_attributes?> |
_ | Attributes of the Processing Instruction have the name as the attribute that was changed on the XML element. The value is an attribute change descriptor. |
If a comment intersects another, the @mid
attribute is
used to correctly identify start and end processing instruction markers.
Common Attributes
The following attributes can be added on both change tracking and comment processing instructions:
@id
- Used to link a reply to its parent comment or change.@comment
- The comment message associated with a comment or change.@timestamp
- The time when the change or comment was created.@author
- The name of the author that created the change or comment.@flag
- The valuedone
means that the item is Marked as Done.
Attribute Change Descriptor
The value of the attributes for a Processing Instruction is an (escaped) XML
element as
in:
<change type="modified" oldValue="word" author="John" timestamp="20210520T091038+0000" />