diffgr Namespace
The diffgr
namespace contains XML attributes
used to mark up a DiffGram document with versioning information.
Here’s how the diffgr namespace
is imported in a DiffGram document:
<xs:schema id="DataSetName" xmlns=""
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" >The diffgr namespace includes several attributes
that can be applied to row elements, as described in Table B-9. The values hasChanges can
take on are listed in Table B-10.
|
Attribute |
Description |
id |
Uniquely identifies a row. This pairs the elements in the
|
parentId |
Used with relationships. Identifies the element
that’s the parent for the current row, using the
parent’s |
hasChanges |
Flags a row, identifying that is has been modified. This attribute is
used only in the |
hasErrors |
If set to |
Error |
Contains the text of the |
|
Attribute |
Description |
Inserted |
Represents a newly added row. |
modified ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access