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-continue>
    <logevents lestart="2014-03-03T14:22:27Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="90" pageid="1" ns="0" title="Main Page" type="patrol" action="patrol" user="Al" timestamp="2015-07-23T03:53:38Z" comment="">
        <patrol cur="291" prev="158" auto="1" />
      </item>
      <item logid="89" pageid="0" ns="14" title="Category:Mediawiki:Translation requests" type="delete" action="delete" user="Al" timestamp="2015-07-22T23:04:20Z" comment="old" />
      <item logid="88" pageid="6" ns="0" title="CNML/en" type="patrol" action="patrol" user="Al" timestamp="2015-05-13T09:04:40Z" comment="">
        <patrol cur="282" prev="250" auto="1" />
      </item>
      <item logid="87" pageid="74" ns="0" title="DNS server" type="move" action="move" user="Rogerpueyo" timestamp="2014-06-26T16:31:58Z" comment="">
        <move new_ns="0" new_title="DNS Server" />
      </item>
      <item logid="86" pageid="73" ns="0" title="Graphs server" type="move" action="move" user="Rogerpueyo" timestamp="2014-06-26T16:31:30Z" comment="Wiki consistency">
        <move new_ns="0" new_title="Graphs Server" />
      </item>
      <item logid="85" pageid="53" ns="90" title="Thread:User talk:Lib2know/Wellcome" type="patrol" action="patrol" user="Al" timestamp="2014-03-28T18:57:15Z" comment="">
        <patrol cur="182" prev="0" auto="1" />
      </item>
      <item logid="84" pageid="48" ns="0" title="Trantor" type="move" action="move" user="Al" timestamp="2014-03-03T14:23:27Z" comment="">
        <move new_ns="0" new_title="Trantor/en" />
      </item>
      <item logid="83" pageid="47" ns="0" title="GuifiModule" type="move" action="move" user="Al" timestamp="2014-03-03T14:23:13Z" comment="">
        <move new_ns="0" new_title="GuifiModule/en" />
      </item>
      <item logid="82" pageid="46" ns="0" title="MySQL" type="move" action="move" user="Al" timestamp="2014-03-03T14:22:50Z" comment="">
        <move new_ns="0" new_title="MySQL/en" />
      </item>
      <item logid="81" pageid="45" ns="0" title="CNML" type="move" action="move" user="Al" timestamp="2014-03-03T14:22:43Z" comment="">
        <move new_ns="0" new_title="CNML/en" />
      </item>
    </logevents>
  </query>
</api>