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="20190423172207|7018" />
  </query-continue>
  <query>
    <logevents>
      <item logid="7028" ns="0" title="Косанов, Амиржан Сагидрахманович" pageid="1595" type="patrol" action="patrol" user="Moderator" timestamp="2019-04-30T09:16:41Z" comment="">
        <patrol cur="13938" prev="3189" auto="1" />
      </item>
      <item logid="7027" ns="0" title="Баймагамбетов, Абай Акатович" pageid="6932" type="patrol" action="patrol" user="Moderator" timestamp="2019-04-29T08:37:12Z" comment="">
        <patrol cur="13937" prev="13936" auto="1" />
      </item>
      <item logid="7026" ns="0" title="Баймагамбетов, Абай Акатович" pageid="6932" type="patrol" action="patrol" user="Moderator" timestamp="2019-04-29T08:36:22Z" comment="">
        <patrol cur="13936" prev="13933" auto="1" />
      </item>
      <item logid="7025" ns="0" title="Айкуне" pageid="6935" type="patrol" action="patrol" user="Moderator" timestamp="2019-04-29T08:20:10Z" comment="">
        <patrol cur="13935" prev="13934" auto="1" />
      </item>
      <item logid="7024" ns="0" title="Айкуне" pageid="6935" type="patrol" action="patrol" user="Moderator" timestamp="2019-04-29T08:17:56Z" comment="">
        <patrol cur="13934" prev="0" auto="1" />
      </item>
      <item logid="7023" ns="0" title="Баймагамбетов, Абай Акатович" pageid="6932" type="patrol" action="patrol" user="Moderator" timestamp="2019-04-29T07:03:57Z" comment="">
        <patrol cur="13933" prev="13931" auto="1" />
      </item>
      <item logid="7022" ns="6" title="Файл:Айкуне.jpg" pageid="6934" img_sha1="mbjxvc965kew57el9cjp3ykx5lbyix6" img_timestamp="2019-04-29T07:02:28Z" type="upload" action="upload" user="Moderator" timestamp="2019-04-29T07:02:28Z" comment="Айкуне" />
      <item logid="7021" ns="0" title="Баймагамбетов, Абай Акатович" pageid="6932" type="patrol" action="patrol" user="Moderator" timestamp="2019-04-29T07:00:53Z" comment="">
        <patrol cur="13931" prev="13929" auto="1" />
      </item>
      <item logid="7020" ns="6" title="Файл:Абай Баймагамбетов.jpg" pageid="6933" img_sha1="5vqu0jrggrhd5922e6rsojsv6b1vsqn" img_timestamp="2019-04-29T06:59:22Z" type="upload" action="upload" user="Moderator" timestamp="2019-04-29T06:59:22Z" comment="" />
      <item logid="7019" ns="0" title="Баймагамбетов, Абай Акатович" pageid="6932" type="patrol" action="patrol" user="Moderator" timestamp="2019-04-29T06:36:24Z" comment="">
        <patrol cur="13929" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
</api>