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 lecontinue="20160313173824|87" />
  </query-continue>
  <query>
    <logevents>
      <item logid="97" ns="8" title="MediaWiki:Sidebar" pageid="2" type="patrol" action="patrol" user="Admin" timestamp="2016-04-15T02:06:04Z" comment="">
        <patrol cur="96" prev="63" auto="1" />
      </item>
      <item logid="96" ns="0" title="LPIC-1" pageid="3" type="patrol" action="patrol" user="Hwe" timestamp="2016-03-23T15:41:05Z" comment="">
        <patrol cur="95" prev="4" auto="1" />
      </item>
      <item logid="95" ns="4" title="Name wiki:Impressum" pageid="15" type="patrol" action="patrol" user="Hwe" timestamp="2016-03-21T20:14:14Z" comment="">
        <patrol cur="94" prev="93" auto="1" />
      </item>
      <item logid="94" ns="4" title="Name wiki:Impressum" pageid="15" type="patrol" action="patrol" user="Hwe" timestamp="2016-03-21T18:53:00Z" comment="">
        <patrol cur="93" prev="0" auto="1" />
      </item>
      <item logid="93" ns="0" title="Ls" pageid="14" type="patrol" action="patrol" user="Hwe" timestamp="2016-03-21T13:34:19Z" comment="">
        <patrol cur="92" prev="0" auto="1" />
      </item>
      <item logid="92" ns="0" title="105.1 Die Shell-Umgebung anpassen und verwenden" pageid="13" type="patrol" action="patrol" user="Hwe" timestamp="2016-03-21T13:33:02Z" comment="">
        <patrol cur="91" prev="0" auto="1" />
      </item>
      <item logid="91" ns="0" title="Hauptseite" pageid="5" type="patrol" action="patrol" user="Hwe" timestamp="2016-03-16T21:42:39Z" comment="">
        <patrol cur="90" prev="89" auto="1" />
      </item>
      <item logid="90" ns="0" title="Hauptseite" pageid="5" type="patrol" action="patrol" user="Hwe" timestamp="2016-03-16T21:42:01Z" comment="">
        <patrol cur="89" prev="44" auto="1" />
      </item>
      <item logid="89" ns="0" title="101.2 Das System starten" pageid="9" type="patrol" action="patrol" user="Hwe" timestamp="2016-03-13T17:40:10Z" comment="">
        <patrol cur="88" prev="86" auto="1" />
      </item>
      <item logid="88" ns="0" title="101.1 Hardware-Einstellungen ermitteln und konfigurieren" pageid="7" type="patrol" action="patrol" user="Hwe" timestamp="2016-03-13T17:39:45Z" comment="">
        <patrol cur="87" prev="85" auto="1" />
      </item>
    </logevents>
  </query>
</api>