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="20150406160451|526" />
  </query-continue>
  <query>
    <logevents>
      <item logid="536" ns="0" title="George Carlin" pageid="127" type="patrol" action="patrol" user="Ilviselmä" timestamp="2019-09-12T12:05:48Z" comment="">
        <patrol cur="529" prev="227" auto="1" />
      </item>
      <item logid="535" ns="2" title="User:Vallicaner" pageid="364" userid="7" type="newusers" action="create" user="Vallicaner" timestamp="2017-01-06T23:11:21Z" comment="" />
      <item logid="534" ns="0" title="Robbie Williams" pageid="337" type="patrol" action="patrol" user="IMMNT" timestamp="2015-11-26T20:54:38Z" comment="">
        <patrol cur="527" prev="449" auto="1" />
      </item>
      <item logid="533" ns="0" title="Ralph Abraham" pageid="103" type="patrol" action="patrol" user="IMMNT" timestamp="2015-11-26T20:46:07Z" comment="">
        <patrol cur="526" prev="471" auto="1" />
      </item>
      <item logid="532" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="Ilviselmä" timestamp="2015-11-18T00:34:01Z" comment="">
        <patrol cur="525" prev="522" auto="1" />
      </item>
      <item logid="531" ns="0" title="Rupert Sheldrake" pageid="363" type="patrol" action="patrol" user="Ilviselmä" timestamp="2015-11-18T00:33:10Z" comment="">
        <patrol cur="524" prev="523" auto="1" />
      </item>
      <item logid="530" ns="0" title="Rupert Sheldrake" pageid="363" type="patrol" action="patrol" user="Ilviselmä" timestamp="2015-11-18T00:32:51Z" comment="">
        <patrol cur="523" prev="0" auto="1" />
      </item>
      <item logid="529" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="IMMNT" timestamp="2015-10-15T07:58:24Z" comment="">
        <patrol cur="522" prev="521" auto="1" />
      </item>
      <item logid="528" ns="2" title="User:Isiah348" pageid="0" type="block" action="block" user="Admin" timestamp="2015-04-06T16:05:50Z" comment="">
        <block flags="nocreate,noemail" duration="infinite" />
      </item>
      <item logid="527" ns="2" title="User:Colton225" pageid="0" type="block" action="block" user="Admin" timestamp="2015-04-06T16:05:41Z" comment="">
        <block flags="nocreate,noemail" duration="infinite" />
      </item>
    </logevents>
  </query>
</api>