[4 of 9] Add, Delete or Modify an Attribute
Add, Delete or Modify an Attribute
In this section we see how changes to attributes are represented in the delta format. You can see how this works as follows:
- click ORIGINAL to return to the original values. Here you can see an unchanged attribute which appears as a normal XML attribute in the full context delta, and does not appear at all in the changes-only delta (uncheck the box 'Full context' to see this).
- click ADD ATTRIBUTE to see that when an attribute is added, a
deltaxml:new-attributesappears in the delta format. - click DELETE ATTRIBUTE to see that when an attribute is deleted, a
deltaxml:old-attributesappears in the delta format. - click MODIFY ATTRIBUTE to see that when an attribute is modified, the original value is preserved in
deltaxml:old-attributes, and the new value is preserved indeltaxml:new-attributes.
If an attribute value contains a double quote, then a single quote will be used as a delimiter. Other delimiters are used if both single and double quotes are present in the value.
Change any attributes in Document 2 to see how the delta changes.
Configuration Options
Full Context
DeltaXML Input and Output
| Document 1 | Document 2 |
|
DeltaXML: Idle
|
|
|
loading...
|
|
4 of
9