<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
<!ENTITY refentry SYSTEM "cases/refent.sgm">
]>
<book><title>Book Title</title>
<part><title>Part 1</title>
  <chapter><title>Chapter 1</title>
    <para>F1<footnote><para>f1</para></footnote></para>
    <para>This is a <ulink url="http://nwalsh.com/">ulink</ulink>.
    So is this: <ulink url="http://nwalsh.com/">http://nwalsh.com/</ulink>.
    </para>

    <table><title>A Test Table</title>
    <tgroup cols="2">
    <tbody>
    <row><entry>a1</entry><entry>a2<footnote><para>table f1</para></footnote></entry></row>
    <row><entry>b1</entry><entry>b2</entry></row>
    </tbody>
    </tgroup>
    </table>

    <sect1><title>Section 1</title>
      <para>F2<footnote id="f2"><para>f2</para></footnote></para>
    </sect1>
    <sect1><title>Section 2</title>
      <para>F3<footnote><para>f3</para></footnote></para>
      <para>This para<comment>A Comment<footnote><para>A Footnote in a Comment</para></footnote></comment> contains a comment that contains a footnote.
      </para>
      <para>F3b<footnote><para>f3b</para></footnote></para>
    </sect1>
    <sect1><title>Section 3</title>
      <para>F4<footnote><para>f4</para></footnote></para>
    </sect1>
  </chapter>
  <chapter><title>Chapter 2</title>
    <para>F5<footnote><para>f5</para></footnote></para>
    <para>As opposed to a previous<footnoteref linkend="f2"> one.</para>
  </chapter>
</part>
</book>
