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="20190515121644|11003" />
  </query-continue>
  <query>
    <logevents>
      <item logid="11013" ns="2" title="Benutzer:Arschloch der Wichser" pageid="0" type="block" action="block" user="DmdM" timestamp="2019-05-15T12:29:58Z" comment="Ungeeigneter Benutzername">
        <block duration="infinite" flags="nocreate" />
      </item>
      <item logid="11012" ns="0" title="Polyergus rufescens" pageid="3463" type="patrol" action="patrol" user="DmdM" timestamp="2019-05-15T12:28:45Z" comment="">
        <patrol cur="27185" prev="27155" auto="1" />
      </item>
      <item logid="11011" ns="0" title="Kosten der Ameisenhaltung" pageid="3449" type="patrol" action="patrol" user="DmdM" timestamp="2019-05-15T12:25:23Z" comment="">
        <patrol cur="27184" prev="24295" auto="1" />
      </item>
      <item logid="11010" ns="0" title="Brutentwicklungsdauer" pageid="3167" type="patrol" action="patrol" user="DmdM" timestamp="2019-05-15T12:23:59Z" comment="">
        <patrol cur="27183" prev="27179" auto="1" />
      </item>
      <item logid="11009" ns="0" title="Überlegungen vor der Ameisenhaltung" pageid="1204" type="patrol" action="patrol" user="DmdM" timestamp="2019-05-15T12:22:37Z" comment="">
        <patrol cur="27182" prev="27162" auto="1" />
      </item>
      <item logid="11008" ns="1" title="Diskussion:Blattschneiderameisen" pageid="0" type="delete" action="delete" user="DmdM" timestamp="2019-05-15T12:21:40Z" comment="Vandalismus" />
      <item logid="11007" ns="0" title="Aufgabenteilung" pageid="3373" type="patrol" action="patrol" user="DmdM" timestamp="2019-05-15T12:20:54Z" comment="">
        <patrol cur="27181" prev="27165" auto="1" />
      </item>
      <item logid="11006" ns="0" title="Fragen und Antworten" pageid="1297" type="patrol" action="patrol" user="DmdM" timestamp="2019-05-15T12:20:04Z" comment="">
        <patrol cur="27180" prev="27167" auto="1" />
      </item>
      <item logid="11005" ns="0" title="Artenübersicht" pageid="1871" type="patrol" action="patrol" user="DmdM" timestamp="2019-05-15T12:18:47Z" comment="">
        <patrol cur="27168" prev="27008" auto="0" />
      </item>
      <item logid="11004" ns="0" title="Brutentwicklungsdauer" pageid="3167" type="patrol" action="patrol" user="DmdM" timestamp="2019-05-15T12:18:29Z" comment="">
        <patrol cur="27179" prev="27170" auto="1" />
      </item>
    </logevents>
  </query>
</api>