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>
    <logevents>
      <item logid="2561" action="upload" ns="6" title="File:Military rank.png" pageid="5885" type="upload" user="Nightrazer" timestamp="2017-09-28T15:43:15Z" comment="" />
      <item logid="2560" action="avatar_chn" ns="2" title="User:Nightrazer" pageid="5884" type="useravatar" user="Nightrazer" timestamp="2017-09-27T11:32:00Z" comment="" />
      <item logid="2559" action="upload" ns="6" title="File:Forging package.jpg" pageid="5881" type="upload" user="Nightrazer" timestamp="2017-09-27T11:11:43Z" comment="" />
      <item logid="2558" action="upload" ns="6" title="File:Everlasting life.jpg" pageid="5880" type="upload" user="Nightrazer" timestamp="2017-09-27T11:09:49Z" comment="" />
      <item logid="2557" action="upload" ns="6" title="File:Statue of the goddess.jpg" pageid="5879" type="upload" user="Nightrazer" timestamp="2017-09-27T11:04:24Z" comment="" />
      <item logid="2556" action="create" ns="2" title="User:Heroes of Gaia Wiki" pageid="0" type="newusers" user="Nightrazer" timestamp="2017-09-27T10:26:07Z" comment="">
        <param>33195770</param>
      </item>
      <item logid="2555" action="renameuser" ns="2" title="User:S0up0re" pageid="5877" type="renameuser" user="Mroszka" timestamp="2017-07-08T11:05:39Z" comment="The user &quot;S0up0re&quot; has been renamed to &quot;Arakafa&quot;." />
      <item logid="2554" action="move" ns="3" title="User talk:S0up0re" pageid="5878" type="move" user="Wikia" timestamp="2017-07-08T11:04:14Z" comment="Automatically moved page while renaming the user &quot;[[User:S0up0re|S0up0re]]&quot; to &quot;[[User:Arakafa|Arakafa]]&quot;">
        <move new_ns="3" new_title="User talk:Arakafa" />
      </item>
      <item logid="2553" action="move" ns="2" title="User:Arakafa" pageid="2158" type="move" user="Wikia" timestamp="2017-07-08T11:04:14Z" comment="Automatically moved page while renaming the user &quot;[[User:S0up0re|S0up0re]]&quot; to &quot;[[User:Arakafa|Arakafa]]&quot;">
        <move new_ns="2" new_title="User:Arakafa" />
      </item>
      <item logid="2552" action="patrol" ns="3" title="User talk:173.87.172.161" pageid="5876" type="patrol" user="Wikia" timestamp="2017-03-30T07:25:02Z" comment="">
        <patrol cur="21874" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2016-08-10T16:27:34Z" />
  </query-continue>
</api>