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-02-08T21:39:06Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="1520" pageid="0" ns="2" title="Benutzer:ZUM-Team" type="newusers" action="create2" userid="10002" user="Karl Kirst" timestamp="2018-06-09T15:19:16Z" comment="" />
      <item logid="1519" pageid="222" ns="4" title="IBK-Wiki:Datenschutz" type="patrol" action="patrol" user="Karl Kirst" timestamp="2018-05-24T21:51:00Z" comment="">
        <patrol cur="5008" prev="290" auto="1" />
      </item>
      <item logid="1518" pageid="930" ns="8" title="MediaWiki:IframeAllowedDomains" type="patrol" action="patrol" user="Karl Kirst" timestamp="2015-05-12T17:00:43Z" comment="">
        <patrol cur="5007" prev="0" auto="1" />
      </item>
      <item logid="1517" pageid="4" ns="2" title="Benutzer:A.Burgermeister" type="block" action="block" user="Karl Kirst" timestamp="2014-12-23T06:06:05Z" comment="Schutz vor möglichem Missbrauch">
        <block flags="nocreate" duration="infinite" />
      </item>
      <item logid="1516" pageid="929" ns="6" title="Datei:Button - Unterschrift.png" type="upload" action="upload" user="Karl Kirst" timestamp="2014-05-11T08:45:40Z" comment="=={{int:filedesc}}==&#10;{{Information&#10;|description={{de|1=Unterschrift-Button für den Wiki-Editor}}&#10;|date=2014-02-19 18:02:12&#10;|source=idea-sketch.com&#10;|author=idea-sketch.com&#10;|permission=&#10;|other_versions=&#10;|other_fields=&#10;}}&#10;&#10;=={{int:license-header}}==&#10;{{cc…" />
      <item logid="1515" pageid="778" ns="10" title="Vorlage:Welcome" type="patrol" action="patrol" user="Karl Kirst" timestamp="2014-05-11T08:39:25Z" comment="">
        <patrol cur="5005" prev="4990" auto="1" />
      </item>
      <item logid="1514" pageid="759" ns="10" title="Vorlage:Register" type="import" action="upload" user="Karl Kirst" timestamp="2014-02-08T21:39:07Z" comment="1 Version: Aktualisierung" />
      <item logid="1513" pageid="761" ns="10" title="Vorlage:Zum-wiki" type="import" action="upload" user="Karl Kirst" timestamp="2014-02-08T21:39:07Z" comment="1 Version: Aktualisierung" />
      <item logid="1512" pageid="859" ns="10" title="Vorlage:Siehe" type="import" action="upload" user="Karl Kirst" timestamp="2014-02-08T21:39:07Z" comment="1 Version: Aktualisierung" />
      <item logid="1511" pageid="760" ns="10" title="Vorlage:Rmg-wiki" type="import" action="upload" user="Karl Kirst" timestamp="2014-02-08T21:39:07Z" comment="1 Version: Aktualisierung" />
    </logevents>
  </query>
</api>