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>
    <logevents>
      <item logid="8" ns="0" title="Email bounce" pageid="6" logpage="6" type="patrol" action="patrol" user="Aceberle" timestamp="2020-07-13T18:31:21Z" comment="">
        <patrol cur="9" prev="0" auto="1" />
      </item>
      <item logid="7" ns="4" title="NC Pilgrimage Wiki:About" pageid="5" logpage="5" type="patrol" action="patrol" user="Aceberle" timestamp="2017-05-12T18:10:57Z" comment="">
        <patrol cur="8" prev="0" auto="1" />
      </item>
      <item logid="6" ns="0" title="Email bounces" pageid="4" logpage="4" type="patrol" action="patrol" user="Aceberle" timestamp="2015-10-29T01:49:47Z" comment="">
        <patrol cur="7" prev="6" auto="1" />
      </item>
      <item logid="5" ns="0" title="Email bounces" pageid="4" logpage="4" type="patrol" action="patrol" user="Aceberle" timestamp="2015-10-29T01:16:07Z" comment="">
        <patrol cur="6" prev="0" auto="1" />
      </item>
      <item logid="4" ns="6" title="File:CaptchaPage.png" pageid="3" logpage="0" type="upload" action="upload" user="Aceberle" timestamp="2014-04-09T12:38:39Z" comment="Screenshot of the initial Captcha page." />
      <item logid="3" ns="0" title="Main Page" pageid="1" logpage="1" type="patrol" action="patrol" user="Aceberle" timestamp="2014-04-09T12:17:31Z" comment="">
        <patrol cur="4" prev="1" auto="1" />
      </item>
      <item logid="2" ns="0" title="User roles" pageid="2" logpage="2" type="patrol" action="patrol" user="Aceberle" timestamp="2013-12-21T16:40:36Z" comment="">
        <patrol cur="3" prev="2" auto="1" />
      </item>
      <item logid="1" ns="0" title="User roles" pageid="2" logpage="2" type="patrol" action="patrol" user="Aceberle" timestamp="2013-12-21T16:40:10Z" comment="">
        <patrol cur="2" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
</api>