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="20210315124011|1084" />
  </query-continue>
  <query>
    <logevents>
      <item logid="1094" ns="0" title="PB:Get an Internet connection" pageid="879" type="patrol" action="patrol" user="Klaus" timestamp="2021-10-28T12:45:24Z" comment="">
        <patrol cur="2439" prev="2438" auto="1" />
      </item>
      <item logid="1093" ns="0" title="PB:Get an Internet connection" pageid="879" type="patrol" action="patrol" user="Klaus" timestamp="2021-10-28T12:45:10Z" comment="">
        <patrol cur="2438" prev="2437" auto="1" />
      </item>
      <item logid="1092" ns="0" title="PB:Get an Internet connection" pageid="879" type="patrol" action="patrol" user="Klaus" timestamp="2021-10-28T12:44:16Z" comment="">
        <patrol cur="2437" prev="2379" auto="1" />
      </item>
      <item logid="1091" ns="2" title="User:Simonmm" pageid="0" type="rights" action="rights" user="Klaus" timestamp="2021-09-29T11:17:32Z" comment="">
        <rights new="sysop, bureaucrat" old="" />
      </item>
      <item logid="1090" ns="2" title="User:Simonmm" pageid="0" userid="2" type="newusers" action="byemail" user="Klaus" timestamp="2021-09-29T11:17:12Z" comment="" />
      <item logid="1089" ns="0" title="Build a virtual Elab server" pageid="923" type="patrol" action="patrol" user="Klaus" timestamp="2021-04-16T15:07:07Z" comment="">
        <patrol cur="2436" prev="2435" auto="1" />
      </item>
      <item logid="1088" ns="0" title="Build a virtual Elab server" pageid="923" type="patrol" action="patrol" user="Klaus" timestamp="2021-03-22T12:22:30Z" comment="">
        <patrol cur="2435" prev="2434" auto="1" />
      </item>
      <item logid="1087" ns="0" title="Build a virtual Elab server" pageid="923" type="patrol" action="patrol" user="Klaus" timestamp="2021-03-22T12:21:14Z" comment="">
        <patrol cur="2434" prev="2433" auto="1" />
      </item>
      <item logid="1086" ns="0" title="Build a virtual Elab server" pageid="923" type="patrol" action="patrol" user="Klaus" timestamp="2021-03-22T12:17:01Z" comment="">
        <patrol cur="2433" prev="0" auto="1" />
      </item>
      <item logid="1085" ns="0" title="New virtual machine" pageid="920" type="patrol" action="patrol" user="Klaus" timestamp="2021-03-15T12:45:54Z" comment="">
        <patrol cur="2432" prev="2431" auto="1" />
      </item>
    </logevents>
  </query>
</api>