You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query generated="20160815080813">
    <tagsreport>
      <tag page_id="1461" title="Heroes of Gaia Wiki" name="mainpage" />
      <tag page_id="2268" title="Heroes" name="math" />
      <tag page_id="2514" title="Bugs" name="gallery" />
      <tag page_id="3689" title="The Ancestors (NPC)" name="gallery" />
      <tag page_id="4828" title="Template:Unit Tier" name="ask" />
      <tag page_id="5252" title="Template:Race Units" name="ask" />
      <tag page_id="5411" title="Template:Equipment List" name="ask" />
      <tag page_id="5426" title="Category:Capitol Equipment" name="ask" />
    </tagsreport>
  </query>
</api>