SdtRow class
Row-Level Structured Document Tag. When the object is serialized out as xml, its qualified name is w:sdt.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Wordprocessing.SdtElement
DocumentFormat.OpenXml.Wordprocessing.SdtRow
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
sdt (Row-Level Structured Document Tag)
This element specifies the presence of a structured document tag around a single table row. 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 invoiceItem that must be located around a single table row in a WordprocessingML document. This requirement would be specified as follows in the WordprocessingML:
<w:tbl>
<w:sdt>
<w:sdtPr>
<w:alias w:val="invoiceItem"/>
</w:sdtPr>
<w:sdtContent>
<w:tr>
… </w:tr>
</w:sdtContent>
</w:sdt>
…</w:tbl>The sdt element specifies the structured document tag, the child sdtPr element contains the friendly name property set to invoiceItem, and the sdtContent element contains a single table row (it is a row-level structured document tag). end example]
Parent Elements |
|---|
customXml (§17.5.1.5); sdtContent (§17.5.2.35); tbl (§17.4.38) |
Child Elements | Subclause |
|---|---|
sdtContent (Row-Level Structured Document Tag Content) | §17.5.2.35 |
sdtEndPr (Structured Document Tag End Character Properties) | §17.5.2.37 |
sdtPr (Structured Document Tag Properties) | §17.5.2.38 |
[Note: The W3C XML Schema definition of this element’s content model (CT_SdtRow) is located in §A.1. end note]
© ISO/IEC29500: 2008.