[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

sdt (Inline-Level Structured Document Tag)

This element specifies the presence of a structured document tag around one or more inline-level structures (runs, DrawingML objects, fields, etc.) in the current paragraph. 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 firstName that shall be located around two runs in a WordprocessingML document. This requirement would be specified as follows in the WordprocessingML:

<w:p>
<w:sdt>
<w:sdtPr>
<w:alias w:val="firstName"/>
</w:sdtPr>
<w:sdtContent>
<w:r>

</w:r>
<w:r>

</w:r>
</w:sdtContent>
</w:sdt>

</w:tr>

The sdt element specifies the structured document tag, the child sdtPr element contains the friendly name property set to firstName, and the sdtContent element contains two runs (it is an inline-level structured document tag). end example]

Parent Elements

customXml2.5.1.5); del2.13.5.12); fldSimple2.16.21); hyperlink2.16.24); ins2.13.5.20); moveFrom2.13.5.21); moveTo2.13.5.26); p2.3.1.22); sdtContent2.5.2.35); smartTag2.5.1.9)

 

Child Elements

Subclause

sdtContent (Inline-Level Structured Document Tag Content)

§2.5.2.35

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_SdtRun">

   <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_SdtContentRun" minOccurs="0" maxOccurs="1"/>

   </sequence>

</complexType>