17.5.2.34 sdtContent

This element specifies the last known contents of a structured document tag around one or more block-level structures (paragraphs, tables, etc.). This element’s contents shall be treated as a cache of the contents to be displayed in the structured document tag for the following reasons:

  • If the structured document tag specifies an XML mapping via the dataBinding element (17.5.2.6),
  • changes to the custom XML data part shall be reflected in the structured document tag as needed
  • If the contents of the structured document tag are placeholder text via the showingPlcHdr element
  • (17.5.2.39), then this content can be updated with the placeholder text stored in the Glossary
  • Document part

[Example: Consider a structured document tag with the friendly name address that must 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 sdtContent element contains a single paragraph (it is a block-level structured document tag content container). end example]

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

Last updated on