17.15.1.32 docVars

This element specifies the presence of document variables in a WordprocessingML. A document variable is a storage location for arbitrary customer data in name/value pairs that is persisted in a given WordprocessingML document.

[Note: This mechanism is maintained for legacy compatibility only, and should be avoided in favor of the custom XML data support defined in ISO/IEC 29500. end note]

[Example: Consider the following WordprocessingML specifying three document variables:

<w:docVars>
  <w:docVar  />
  <w:docVar  />
  <w:docVar  />
</w:docVars>

The docVars element contains three child elements each defining a single document variable in this document. end example]

[Note: The W3C XML Schema definition of this element’s content model (CT_DocVars) is located in A.1. end note]

Last updated on