17.5.2.31 sdt

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 must 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:p>

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]

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

Last updated on