[3 of 4] Changes to Attributes
Changes to Attributes
In this section we see how changes to attributes are represented in the deltaV2 format. All the attribute values are preserved in the unidelta format.
Attribute values are preserved in a similar way to changes to text, using the deltaV2 attribute. The changed values are contained in a new deltaxml:attributes element which contains elements with names corresponding to the original attribute names. You can see how this works as follows:
- click ORIGINAL EXAMPLE to return to the original values, which are the same in all three documents, note that it appears as normal in the deltaV2.
- click CHANGE ATTRIBUTE IN C to change an attribute in document C, note the attribute is moved into the
deltaxml:attributeselement with the different values preserved as text indeltaxml:attributeValueelements. - click CHANGE ATTRIBUTE IN B to change the attribute in document B as well, note a new value appears in the deltaV2.
Change any attributes in Document B or Document C to see how the deltaV2 changes.
DeltaXML Input and Output
| Document A | Document B | Document C |
|
DeltaXML: Idle
|
||
|
loading...
|
||
3 of
4