You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page ns="0" title="API" missing="" />
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Gagnon" timestamp="2017-05-03T20:28:20Z" comment="" contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">[[File:GagnonCoat.png|frameless|500px|left]]
==Family History==
[[Gagnon Family History]]&lt;br&gt;
==Paternal Lineage Chart==
[[Barnabé Gagnon (1547)]]&lt;br&gt;
[[Pierre Gagnon (1572)]]&lt;br&gt;
[[Jean Gagnon (1610)]]&lt;br&gt;
[[Jean Gagnon (1648)]]&lt;br&gt;
[[Joseph Gagnon (1685)]]&lt;br&gt;
[[Dominique Gagnon (1730)]]&lt;br&gt;
[[Dominique Gagnon (1755)]]&lt;br&gt;
[[Étienne Gagnon (1781)]]&lt;br&gt;
[[Élie Gagnon (1812)]]&lt;br&gt;
[[Alexandre Gagnon (1844)]]&lt;br&gt;
[[Alexandre Gagnon (1865)]]&lt;br&gt;
[[Onesime Gagnon (1892)]]&lt;br&gt;

==Help Researching==
[[Research Resources]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>