[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
sdt (Block-Level Structured Document Tag)
This element specifies the presence of a structured document tag around one or more block-level structures (paragraphs, tables, etc.). The two child elements of this element shall be used to specify the properties and content of the current structured document tag via the sdtPr and sdtContent elements, respectively.
[Example: Consider a structured document tag with the friendly name address that shall be located around a single paragraph in a WordprocessingML document. This requirement would be specified as follows in the WordprocessingML:
<w:body>
<w:sdt>
<w:sdtPr>
<w:alias w:val="address"/>
</w:sdtPr>
<w:sdtContent>
<w:p>
…
</w:p>
</w:sdtContent>
</w:sdt>
…
</w:body>
The sdt element specifies the structured document tag, the child sdtPr element contains the friendly name property set to address, and the sdtContent element contains a single paragraph (it is a block-level structured document tag). end example]
Parent Elements |
body (§2.2.2); comment (§2.13.4.2); customXml (§2.5.1.6); docPartBody (§2.12.6); endnote (§2.11.2); footnote (§2.11.10); ftr (§2.10.3); hdr (§2.10.4); sdtContent (§2.5.2.32); tc (§2.4.62); txbxContent (§2.17.1.1) |
Child Elements |
Subclause |
sdtContent (Block-Level Structured Document Tag Content) |
§2.5.2.32 |
sdtEndPr (Structured Document Tag End Character Properties) |
§2.5.2.36 |
sdtPr (Structured Document Tag Properties) |
§2.5.2.37 |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_SdtBlock">
<sequence>
<element name="sdtPr" type="CT_SdtPr" minOccurs="0" maxOccurs="1"/>
<element name="sdtEndPr" type="CT_SdtEndPr" minOccurs="0" maxOccurs="1"/>
<element name="sdtContent" type="CT_SdtContentBlock" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>