17.18.76 ST_SdtDateMappingType
This simple type specifies then possible types of translations which can be performed on the displayed date in a date picker structured document tag when the current contents are saved into the associated custom XML data via the dataBinding element (17.5.2.6).
[Example: Consider the following date picker structured document tag:
<w:sdt>
<w:sdtPr>
<w:date w:fullDate="01-01-2006T06:30:00Z">
<w:storeMappedDateAs w:val="text"/>
…
</w:date>
</w:sdtPr>
<w:sdtContent>
<w:r>
<w:t>January 1</w:t>
</w:r>
</w:sdtContent>
</w:sdt>
The value of the storeMappedDateAs element’s attribute value is text, therefore the current run contents must be sent to the mapped XML element without any translation (in this case, the value must be January 1). end example]
This simple type’s contents are a restriction of the W3C XML Schema string datatype.
This simple type is restricted to the values
listed in the following table:
Enumeration Value
Description
Specifies that the date specified in the parent date picker structured document tag shall be converted to the xsd:date format when stored in a mapped XML element.
Specifies that the date specified in the parent date picker structured document tag shall be converted to the xsd:dateTime format when stored in a mapped XML element.
Specifies that no translation shall be performed on the displayed date when stored in a mapped XML element - the mapped contents shall be the same as the displayed contents.
[Note: The W3C XML Schema definition of this simple type’s content model (ST_SdtDateMappingType) is located in A.1. end note]