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="20190626065042|35" />
  </query-continue>
  <query>
    <logevents>
      <item logid="45" ns="0" title="Врачи" pageid="5" type="patrol" action="patrol" user="Admin" timestamp="2023-03-20T15:30:07Z" comment="">
        <patrol cur="47" prev="46" auto="1" />
      </item>
      <item logid="44" ns="0" title="Врачи" pageid="5" type="patrol" action="patrol" user="Admin" timestamp="2021-12-12T17:19:34Z" comment="">
        <patrol cur="46" prev="45" auto="1" />
      </item>
      <item logid="43" ns="0" title="Врачи" pageid="5" type="patrol" action="patrol" user="Admin" timestamp="2020-01-11T12:58:44Z" comment="">
        <patrol cur="45" prev="44" auto="1" />
      </item>
      <item logid="42" ns="0" title="Врачи" pageid="5" type="patrol" action="patrol" user="Admin" timestamp="2020-01-11T12:58:23Z" comment="">
        <patrol cur="44" prev="43" auto="1" />
      </item>
      <item logid="41" ns="0" title="Врачи" pageid="5" type="patrol" action="patrol" user="Admin" timestamp="2020-01-11T12:57:29Z" comment="">
        <patrol cur="43" prev="39" auto="1" />
      </item>
      <item logid="40" ns="0" title="Куда жаловаться" pageid="12" type="patrol" action="patrol" user="Admin" timestamp="2019-10-19T14:22:12Z" comment="">
        <patrol cur="42" prev="0" auto="1" />
      </item>
      <item logid="39" ns="0" title="Пляжи" pageid="11" type="patrol" action="patrol" user="Admin" timestamp="2019-10-19T14:21:56Z" comment="">
        <patrol cur="41" prev="0" auto="1" />
      </item>
      <item logid="38" ns="0" title="Кипр" pageid="3" type="patrol" action="patrol" user="Admin" timestamp="2019-10-19T14:21:46Z" comment="">
        <patrol cur="40" prev="32" auto="1" />
      </item>
      <item logid="37" ns="0" title="Врачи" pageid="5" type="patrol" action="patrol" user="Admin" timestamp="2019-09-22T16:39:36Z" comment="">
        <patrol cur="39" prev="28" auto="1" />
      </item>
      <item logid="36" ns="0" title="Пауки" pageid="9" type="patrol" action="patrol" user="Admin" timestamp="2019-06-26T06:53:28Z" comment="">
        <patrol cur="38" prev="37" auto="1" />
      </item>
    </logevents>
  </query>
</api>