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="20191208205023|350417" />
  </query-continue>
  <query>
    <logevents>
      <item logid="350427" ns="6" title="Файл:6-й Др. Глуховский полк форма 1.jpg" pageid="129972" img_sha1="5b6cff7a8napxeph9qrdf37uanpvhpa" img_timestamp="2019-12-08T23:04:14Z" type="upload" action="upload" user="Antik" timestamp="2019-12-08T23:04:14Z" comment="[[category:Фотоархив]]&#10;[[category:8 к категоризации]]" />
      <item logid="350426" ns="6" title="Файл:6-й Др. Глуховский полк форма.jpg" pageid="129971" img_sha1="gb5b5rg8tei0g64383lcmtvmhx6lzst" img_timestamp="2019-12-08T22:30:59Z" type="upload" action="upload" user="Antik" timestamp="2019-12-08T22:30:59Z" comment="[[category:Фотоархив]]&#10;[[category:8 к категоризации]]" />
      <item logid="350425" ns="2" title="Участник:МилаЯ" pageid="0" userid="1403" type="newusers" action="create" user="МилаЯ" timestamp="2019-12-08T22:04:58Z" comment="" />
      <item logid="350424" ns="0" title="Шанин Петр Николаевич" pageid="52166" type="patrol" action="patrol" user="Armarian" timestamp="2019-12-08T21:43:17Z" comment="">
        <patrol cur="566589" prev="566588" auto="1" />
      </item>
      <item logid="350423" ns="0" title="Шанин Петр Николаевич" pageid="52166" type="patrol" action="patrol" user="Armarian" timestamp="2019-12-08T21:38:03Z" comment="">
        <patrol cur="566588" prev="566586" auto="1" />
      </item>
      <item logid="350422" ns="0" title="Шанин Петр Николаевич" pageid="52166" type="patrol" action="patrol" user="Armarian" timestamp="2019-12-08T21:34:02Z" comment="">
        <patrol cur="566586" prev="566585" auto="1" />
      </item>
      <item logid="350421" ns="0" title="Шанин Петр Николаевич" pageid="52166" type="patrol" action="patrol" user="Armarian" timestamp="2019-12-08T21:29:08Z" comment="">
        <patrol cur="566585" prev="566584" auto="1" />
      </item>
      <item logid="350420" ns="0" title="Шанин Петр Николаевич" pageid="52166" type="patrol" action="patrol" user="Armarian" timestamp="2019-12-08T21:27:07Z" comment="">
        <patrol cur="566584" prev="566583" auto="1" />
      </item>
      <item logid="350419" ns="0" title="Шанин Петр Николаевич" pageid="52166" type="patrol" action="patrol" user="Armarian" timestamp="2019-12-08T21:24:27Z" comment="">
        <patrol cur="566583" prev="566578" auto="1" />
      </item>
      <item logid="350418" ns="0" title="Шанин Петр Николаевич" pageid="52166" type="patrol" action="patrol" user="Armarian" timestamp="2019-12-08T20:55:58Z" comment="">
        <patrol cur="566578" prev="566573" auto="1" />
      </item>
    </logevents>
  </query>
</api>