[4 of 5] Standard and Expanded Unidelta
Standard and Expanded Unidelta
The standard unidelta format adopts the principle that when a subtree of a document has not been changed, it should appear
in the unidelta exactly as it appeared in the original document. This makes it intuitive and easy to understand. For some
processing tasks it may be more convenient to use the expanded unidelta, which holds both changed and unchanged text and attribute
data in the same format. This expanded unidelta has all vset attribute values provided, all text (changed or not) in dxu:PCDATA elements and all attributes are in dxu:attributes elements.
Check or uncheck the 'Standard Unidelta' option for each of the following examples:
- click ORIGINAL EXAMPLE to return to the original values, which are the same in all three documents, note if you uncheck the Standard Unidelta option, the unidelta format changes from standard to expanded.
- click VSET ON ALL ELEMENTS to see how the
vsetattribute is provided for all elements down through the document tree. - click TEXT IS WRAPPED to see that text is wrapped in the
dxu:PCDATAelement in the expanded unidelta. - click ATTRIBUTES EXPANDED to see that all attributes are expanded into the
dxu:attributeselement in the expanded unidelta. - click ALL EXPANDED to see the effect of all of these, and you will see that even on a small example such as this the expanded unidelta is very verbose!
Configuration Options
Standard Unidelta (uncheck to see expanded form)
DeltaXML Input and Output
| Document A | Document B | Document C |
|
DeltaXML: Idle
|
||
|
loading...
|
||
4 of
5