<divsChild> (Child div Elements Contained within Current div)

This element specifies the set of HTML div or blockquote elements which are contained within the current HTML div, body, or blockquote element, establishing the parent/child hierarchy of the original set of these elements.

When an HTML document containing these objects is saved in the WordprocessingML format, WordprocessingML objects store a reference to their most immediate parent div, body, or blockquote element using the <divId> element.

However, since only a single reference is stored, this information is often insufficient to determine the appropriate parent/child hierarchy for the original HTML div data, so it can be applied appropriately. This element allows that hierarchy to be stored, as child HTML div elements are stored within the <childDivs> element.

example:
<html>
  <body>
    <div style=" margin-top:50px">
      <p>Paragraph one.</p
      <div style="margin-left:50px">
        <p>Paragraph two.</p>
      </div>
    </div>
  </body>
</html>

If the outer and inner body and div elements were assigned id attributes of 1626542603 and 313534916 respectively, then the first paragraph would reference the div ID of the outer <div> (since it is contained within that HTML div element) and the second paragraph would reference the div ID of the inner <div> (since it is contained within the child HTML div element), as follows:

<w:p>
  <w:pPr>
    <w:divId w:val="1626542603" />
  </w:pPr>
  <w:r>
    <w:t>Paragraph one.</w:t>
  </w:r>
</w:p>
<w:p>
  <w:pPr>
    <w:divId w:val="313534916" />
  </w:pPr>
  <w:r>
    <w:t>Paragraph one.</w:t>
  </w:r>
</w:p>

However, this information alone is insufficient - it is unclear if the second div is contained within, or simply adjacent to, the first one.

In order to preserve this information, the correct hierarchy is stored within the web settings part:

<w:divs>
  <w:div w:id="1626542603"><w:divsChild>
      <w:div w:id="313534916"></w:div>
    </w:divsChild>
  </w:div>
</w:divs>

The <divsChild> element contains the second <div> as a child of the first <div>, specifying that the first <div> covers both paragraphs. ]

Parent Elements

<div>2.15.2.6)

Child Elements

Subclause

<div> (Information About Single HTML div Element)

§2.15.2.6

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Divs">
	<sequence minOccurs="1" maxOccurs="unbounded">
	<element name="div" type="CT_Div"/>
	</sequence>
</complexType>