<footnote> (Footnote Content)

This element specifies the content of a single footnote within a WordprocessingML document. Each footnote shall be represented by a single <footnote> element, which may contain any valid .

example:
<w:footnotes>
  <w:footnote w:id="2">
    <w:p>
      <w:pPr>
        <w:pStyle w:val="FootnoteText" />
      </w:pPr>
      <w:r>
        <w:rPr>
          <w:rStyle w:val="FootnoteReference" />
        </w:rPr>
        <w:footnoteRef />
      </w:r>
      <w:r>
        <w:t xml:space="preserve">This is a sample footnote</w:t>
      </w:r>
    </w:p>
  </w:footnote>
</w:footnotes>

This footnote contains an footnote reference mark, as well as the endnote text This is a sample footnote. ]

Parent Elements

<footnotes>2.11.15)

Child Elements

Subclause

<altChunk> (Anchor for Imported External Content)

§2.17.3.1

<bookmarkEnd> (Bookmark End)

§2.13.6.1

<bookmarkStart> (Bookmark Start)

§2.13.6.2

<commentRangeEnd> (Comment Anchor Range End)

§2.13.4.3

<commentRangeStart> (Comment Anchor Range Start)

§2.13.4.4

<customXml> (Block-Level Custom XML Element)

§2.5.1.6

<customXmlDelRangeEnd> (Custom XML Markup Deletion End)

§2.13.5.4

<customXmlDelRangeStart> (Custom XML Markup Deletion Start)

§2.13.5.5

<customXmlInsRangeEnd> (Custom XML Markup Insertion End)

§2.13.5.6

<customXmlInsRangeStart> (Custom XML Markup Insertion Start)

§2.13.5.7

<customXmlMoveFromRangeEnd> (Custom XML Markup Move Source End)

§2.13.5.8

<customXmlMoveFromRangeStart> (Custom XML Markup Move Source Start)

§2.13.5.9

<customXmlMoveToRangeEnd> (Custom XML Markup Move Destination Location End)

§2.13.5.10

<customXmlMoveToRangeStart> (Custom XML Markup Move Destination Location Start)

§2.13.5.11

<del> (Deleted Run Content)

§2.13.5.12

<ins> (Inserted Run Content)

§2.13.5.20

<moveFrom> (Move Source Run Content)

§2.13.5.21

<moveFromRangeEnd> (Move Source Location Container - End)

§2.13.5.23

<moveFromRangeStart> (Move Source Location Container - Start)

§2.13.5.24

<moveTo> (Move Destination Run Content)

§2.13.5.26

<moveToRangeEnd> (Move Destination Location Container - End)

§2.13.5.27

<moveToRangeStart> (Move Destination Location Container - Start)

§2.13.5.28

<oMath> (Office Math)

§7.1.2.77

<oMathPara> (Math Paragraph)

§7.1.2.78

<p> (Paragraph)

§2.3.1.22

<permEnd> (Range Permission End)

§2.13.7.1

<permStart> (Range Permission Start)

§2.13.7.2

<proofErr> (Proofing Error Anchor)

§2.13.8.1

<sdt> (Block-Level Structured Document Tag)

§2.5.2.30

<tbl> (Table)

§2.4.36

Attributes

Description

<id> (Footnote/Endnote ID)

Specifies a unique ID which shall be used to match the contents of a footnote or endnote to the associated footnote/endnote reference mark in the document using the <footnoteRef> or <endnoteRef> element, as appropriate.

If this attribute is omitted, then this footnote or endnote shall have no ID. If more than one footnote shares the same ID, then this document shall be considered non-conformant. If more than one endnote shares the same ID, then this document shall be considered non-conformant.

<w:footnotes>
  <w:footnote w:type="normal" w:id="0"></w:footnote></w:footnotes>

The contents of this footnote are associated with the <footnoteReference> with a matching ID, as follows:

<w:p>
  <w:r>
    <w:footnoteReference w:id="0" />
  </w:r>
</w:p>

The resulting paragraph will have a footnote reference mark which references the footnote number value of the footnote with an @id of 0. ]

The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16).

<type> (Footnote/Endnote Type)

Specifies the type of footnote or endnote contained within the current footnote or endnote content definition.

If this attribute is omitted, then it shall be considered to be of type normal. If a footnote or endnote is not of type normal, then it shall not be referenced by a <footnoteReference> or <endnoteReference> element within the main document story.

<w:footnote w:type="continuationSeparator" w:id="1">
  <w:p>
    <w:r>
      <w:continuationSeparator />
    </w:r>
  </w:p>
</w:footnote>

In this example, the footnote is of type continuationSeparator and shall be used by a consumer to separate continued footnotes from the main document contents (see simple type for full details). ]

The possible values for this attribute are defined by the ST_FtnEdn simple type (§2.18.37).

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

<complexType name="CT_FtnEdn">
	<sequence>
	<group ref="EG_BlockLevelElts" minOccurs="1" maxOccurs="unbounded"/>
	</sequence>
	<attribute name="type" type="ST_FtnEdn" use="optional"/>
	<attribute name="id" type="ST_DecimalNumber" use="required"/>
</complexType>