w:footnotes (Footnotes Part Root)

Root element of the footnotes.xml part, containing all footnote definitions for the document.

Child elements

Description

w:footnotes is the root element of the Footnotes part (word/footnotes.xml). It acts as a container for all w:footnote elements in the document. Two special separator footnotes are always present: the footnote separator line and the continuation separator.

It is defined in ECMA-376 Part 1 §17.11.14.

The Footnotes part is referenced from the main document part via a relationship of type http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes.

Child Elements

Element Description
w:footnote A single footnote definition (including special separator notes).

Examples

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:footnotes xmlns:wpc="..." xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
  <w:footnote w:type="separator" w:id="-1">
    <w:p><w:r><w:separator/></w:r></w:p>
  </w:footnote>
  <w:footnote w:type="continuationSeparator" w:id="0">
    <w:p><w:r><w:continuationSeparator/></w:r></w:p>
  </w:footnote>
  <w:footnote w:id="1">
    <w:p>
      <w:r><w:footnoteRef/></w:r>
      <w:r><w:t xml:space="preserve"> This is the footnote text.</w:t></w:r>
    </w:p>
  </w:footnote>
</w:footnotes>

Notes

  • The two special footnotes with w:type="separator" (id=-1) and w:type="continuationSeparator" (id=0) are always present and define the separator line rendered above the footnote area.
  • Footnotes with no w:type attribute (or w:type="normal") are regular user-created footnotes.
  • The namespace declaration on w:footnotes must match the rest of the document.