View Categories

p.footnote

1 min read

Table of Contents

Syntax #

p.footnote

Purpose #

The p.footnote annotation is used to indicate a citation, informative, contextual, or other type of footnote text. This text is located in the footer of the source document page and will generally be indicated with a superscript number in the body of the source document.

When p.footnote is applied to the text of the footnote, not the associated sentence containing the link. However, when p.footnote is applied to a paragraph, it will appear in the DITA XML where the citation is located (see the following example).

Examples #

The following is an example of a time where you might want to use the p.footnote annotation:

The link to the footnote is located in its relevant sentence.

The text of the footnote is located at the end of the document in Migrate, or in the footer of the page in the source document.

The following is an example of a rule that will apply p.footnote:

The following is an example of the DITA output you would get from this annotation.

<p>Shoot for the moon, if you miss, you’ll land among the stars.<xref href="#ID-0000002d/ID-00000003" type="fn"><i/></xref><fn id="ID-00000003"><div><fn> The wall of every elementary and middle school in North America</fn></div></fn></p>