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 lestart="2015-01-06T07:50:19Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="196863" ns="0" title="Красный флаг" pageid="81" type="patrol" action="patrol" user="Pasha" timestamp="2021-03-03T07:52:00Z" comment="">
        <patrol cur="105767" prev="105766" auto="1" />
      </item>
      <item logid="196862" ns="0" title="Красный флаг" pageid="81" type="patrol" action="patrol" user="Pasha" timestamp="2021-03-03T07:49:31Z" comment="">
        <patrol cur="105766" prev="199" auto="1" />
      </item>
      <item logid="196861" ns="0" title="Лангедок" pageid="144" type="patrol" action="patrol" user="Pasha" timestamp="2021-02-23T21:15:11Z" comment="">
        <patrol cur="105765" prev="105764" auto="1" />
      </item>
      <item logid="196860" ns="0" title="Лангедок" pageid="144" type="patrol" action="patrol" user="Pasha" timestamp="2021-02-23T21:11:44Z" comment="">
        <patrol cur="105764" prev="105763" auto="1" />
      </item>
      <item logid="196859" ns="0" title="Лангедок" pageid="144" type="patrol" action="patrol" user="Pasha" timestamp="2021-02-21T07:20:34Z" comment="">
        <patrol cur="105763" prev="494" auto="1" />
      </item>
      <item logid="196858" ns="10" title="Шаблон:Игра" pageid="104586" type="patrol" action="patrol" user="Cube" timestamp="2015-01-06T08:03:30Z" comment="">
        <patrol cur="105762" prev="105637" auto="1" />
      </item>
      <item logid="196857" ns="0" title="American history. Prohibition. Chicago 1930." pageid="104740" type="patrol" action="patrol" user="Cube" timestamp="2015-01-06T08:02:01Z" comment="">
        <patrol cur="105761" prev="0" auto="1" />
      </item>
      <item logid="196856" ns="6" title="Файл:American history camera.jpg" pageid="104739" type="upload" action="upload" img_sha1="rinrwo572fxz9zvuzvlzuf9aorkexym" img_timestamp="2015-01-06T07:55:45Z" user="Cube" timestamp="2015-01-06T07:55:45Z" comment="" />
      <item logid="196855" ns="6" title="Файл:American history restoran2.jpg" pageid="104738" type="upload" action="upload" img_sha1="8s96kvd0vzfvjvfr0oc3brjdrjad56v" img_timestamp="2015-01-06T07:53:33Z" user="Cube" timestamp="2015-01-06T07:53:33Z" comment="" />
      <item logid="196854" ns="6" title="Файл:American history restoran.jpg" pageid="104737" type="upload" action="upload" img_sha1="lcrv8mfymfjnidqoid012mmgyikl331" img_timestamp="2015-01-06T07:51:49Z" user="Cube" timestamp="2015-01-06T07:51:49Z" comment="" />
    </logevents>
  </query>
</api>