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="2018-10-24 16:53:57+00|1133" />
  </query-continue>
  <query>
    <logevents>
      <item logid="1143" ns="0" title="Ionosphere research" pageid="110" type="patrol" action="patrol" user="PA9TV" timestamp="2023-06-02T17:19:54Z" comment="">
        <patrol cur="1156" prev="1155" auto="1" />
      </item>
      <item logid="1142" ns="0" title="Ionosphere research" pageid="110" type="patrol" action="patrol" user="PA9TV" timestamp="2023-05-25T20:10:12Z" comment="">
        <patrol cur="1155" prev="1154" auto="1" />
      </item>
      <item logid="1141" ns="0" title="Ionosphere research" pageid="110" type="patrol" action="patrol" user="PA9TV" timestamp="2023-05-25T20:09:59Z" comment="">
        <patrol cur="1154" prev="1153" auto="1" />
      </item>
      <item logid="1140" ns="0" title="Ionosphere research" pageid="110" type="patrol" action="patrol" user="PA9TV" timestamp="2023-05-25T20:08:56Z" comment="">
        <patrol cur="1153" prev="1152" auto="1" />
      </item>
      <item logid="1139" ns="0" title="Ionosphere research" pageid="110" type="patrol" action="patrol" user="PA9TV" timestamp="2023-05-25T20:08:46Z" comment="">
        <patrol cur="1152" prev="0" auto="1" />
      </item>
      <item logid="1138" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="PA9TV" timestamp="2023-05-25T20:07:55Z" comment="">
        <patrol cur="1151" prev="1150" auto="1" />
      </item>
      <item logid="1137" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="PA9TV" timestamp="2022-08-23T14:01:22Z" comment="">
        <patrol cur="1150" prev="1149" auto="1" />
      </item>
      <item logid="1136" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="PA9TV" timestamp="2022-08-23T14:01:04Z" comment="">
        <patrol cur="1149" prev="1148" auto="1" />
      </item>
      <item logid="1135" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="PA9TV" timestamp="2022-08-23T14:00:49Z" comment="">
        <patrol cur="1148" prev="1140" auto="1" />
      </item>
      <item logid="1134" ns="0" title="GnuRadio for Adalm-Pluto Ubuntu Bionic 18.04" pageid="109" type="patrol" action="patrol" user="PA9TV" timestamp="2018-10-27T16:26:25Z" comment="">
        <patrol cur="1147" prev="1146" auto="1" />
      </item>
    </logevents>
  </query>
</api>