[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
rsid (Single Session Revision Save ID)
This element specifies the revision save ID that was associated with a single editing session for a document. An editing session is a span of time that begins and ends with any event that produces an editable file, such as a save or an e-mail send, and contains no such event. When revision save IDs are added to a document, they shall follow these rules:
• Every editing session shall be assigned a revision save ID that is larger than all earlier ones in the same file
• Revision save IDs should be randomly generated based on the current time (to minimize the chance that two disparate editing sessions starting with the same immediate predecessor are assigned the same revision save ID)
• Changes to document content in an editing session shall be stamped with the current revision save ID using the appropriate rsid* attributes
• An identical rsid value between two documents with the same rsidRoot (§2.15.1.71) shall indicate the same editing sessions
[Note: A revision save ID should be treated as unique within the context of all documents with the same rsidRoot value. Although in practice it is possible for two independent sessions to result in the same value, this outcome is extremely rare as the values are based on the current time. However, the meaning of two revision save IDs is not defined for documents with a different rsidRoot. Applications may use this information as desired. end note]
[Example: Consider the following fragments from two WordprocessingML documents' document settings:
Document 1 |
Document 2 |
<w:rsids> <w:rsidRoot w:val="00464813"/> <w:rsid w:val="00455AAB" /> <w:rsid w:val="00464813" /> <w:rsid w:val="00996E03" /> </w:rsids> |
<w:rsids> <w:rsidRoot w:val="00464813"/> <w:rsid w:val="00455AAB" /> <w:rsid w:val="00464813" /> <w:rsid w:val="00473403" /> <w:rsid w:val="0048414E" /> </w:rsids> |
The rsid elements are identical for the first three editing sessions for both documents, indicating that these documents, although they are now separate, originated from the same document. The documents were then separated and the first was saved once afterwards; and the second, twice. end example]
Parent Elements |
rsids (§2.15.1.72) |
Attributes |
Description |
val (Long Hexadecimal Number Value) |
Specifies a number value specified as a four digit hexadecimal number), whose contents of this decimal number are interpreted based on the context of the parent XML element.
[Example: Consider the following value for an attribute of type ST_LongHexNumber: 00BE2C6C.
This value is valid, as it contains four hexadecimal digits, each an encoding of an octet of the actual decimal number value. It may therefore be interpreted as desired in the context of the parent XML element, end example]
The possible values for this attribute are defined by the ST_LongHexNumber simple type (§2.18.57). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_LongHexNumber">
<attribute name="val" type="ST_LongHexNumber" use="required"/>
</complexType>