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="20190522125555|9165" />
  </query-continue>
  <query>
    <logevents>
      <item logid="9175" action="create2" ns="2" title="User:Sinaca" pageid="0" logpage="0" userid="5078" type="newusers" user="Poilf" timestamp="2019-08-16T07:28:10Z" comment="" />
      <item logid="9174" action="patrol" ns="0" title="Items" pageid="440" logpage="440" type="patrol" user="Agapios" timestamp="2019-05-22T13:26:21Z" comment="">
        <patrol cur="7856" prev="7853" auto="1" />
      </item>
      <item logid="9173" action="upload" ns="6" title="File:Itemsbutton2.png" pageid="2849" logpage="2849" img_sha1="8itmn7s8u5yhl5cfs3v5b14h1m4bd0t" img_timestamp="2019-05-22T13:26:06Z" type="upload" user="Agapios" timestamp="2019-05-22T13:26:06Z" comment="" />
      <item logid="9172" action="overwrite" ns="6" title="File:Meditation Button.png" pageid="2845" logpage="2845" img_sha1="m4ec685i7ug1q2rgm968dm2imuq2a9z" img_timestamp="2019-05-22T13:25:12Z" type="upload" user="Agapios" timestamp="2019-05-22T13:25:12Z" comment="" />
      <item logid="9171" action="patrol" ns="0" title="Items" pageid="440" logpage="440" type="patrol" user="Agapios" timestamp="2019-05-22T13:23:42Z" comment="">
        <patrol cur="7853" prev="7851" auto="1" />
      </item>
      <item logid="9170" action="upload" ns="6" title="File:Itemsbutton.png" pageid="2848" logpage="2848" img_sha1="f0ocasoucgu7rim0prrs3ypgv70zd0k" img_timestamp="2019-05-22T13:23:24Z" type="upload" user="Agapios" timestamp="2019-05-22T13:23:24Z" comment="" />
      <item logid="9169" action="patrol" ns="0" title="Items" pageid="440" logpage="440" type="patrol" user="Agapios" timestamp="2019-05-22T13:22:29Z" comment="">
        <patrol cur="7851" prev="3322" auto="1" />
      </item>
      <item logid="9168" action="upload" ns="6" title="File:Capabilities-Tree Shadow.png" pageid="2847" logpage="2847" img_sha1="8kjrt19lhi30jd4pk2j5c1gqd5v5iq7" img_timestamp="2019-05-22T12:57:43Z" type="upload" user="Agapios" timestamp="2019-05-22T12:57:43Z" comment="" />
      <item logid="9167" action="patrol" ns="0" title="Meditation" pageid="739" logpage="739" type="patrol" user="Agapios" timestamp="2019-05-22T12:57:17Z" comment="">
        <patrol cur="7849" prev="7847" auto="1" />
      </item>
      <item logid="9166" action="upload" ns="6" title="File:Abilities-tree light.png" pageid="2846" logpage="2846" img_sha1="2zu6oamop7zpu6x4adg6oae92pc1q5m" img_timestamp="2019-05-22T12:56:43Z" type="upload" user="Agapios" timestamp="2019-05-22T12:56:43Z" comment="" />
    </logevents>
  </query>
</api>