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="20190731135236|4650" />
  </query-continue>
  <query>
    <logevents>
      <item logid="4660" ns="0" title="Shibboleth" pageid="1570" type="patrol" action="patrol" user="Drn@ecs.soton.ac.uk" timestamp="2019-11-04T16:02:14Z" comment="">
        <patrol cur="13283" prev="13282" auto="1" />
      </item>
      <item logid="4659" ns="0" title="Shibboleth" pageid="1570" type="patrol" action="patrol" user="Drn@ecs.soton.ac.uk" timestamp="2019-11-04T15:56:41Z" comment="">
        <patrol cur="13282" prev="12903" auto="1" />
      </item>
      <item logid="4658" ns="0" title="Installing EPrints on RHEL/Fedora/CentOS" pageid="2536" type="patrol" action="patrol" user="Drn@ecs.soton.ac.uk" timestamp="2019-10-28T09:46:32Z" comment="">
        <patrol cur="13281" prev="13191" auto="1" />
      </item>
      <item logid="4657" ns="10" title="Template:Download" pageid="2138" type="patrol" action="patrol" user="Drn@ecs.soton.ac.uk" timestamp="2019-10-09T08:19:16Z" comment="">
        <patrol cur="13279" prev="12843" auto="1" />
      </item>
      <item logid="4656" ns="3" title="User talk:Armen yeghoyan" pageid="2941" type="patrol" action="patrol" user="Drn@ecs.soton.ac.uk" timestamp="2019-09-18T12:29:30Z" comment="">
        <patrol cur="13277" prev="0" auto="1" />
      </item>
      <item logid="4655" ns="2" title="User:Armen yeghoyan" pageid="2940" type="patrol" action="patrol" user="Drn@ecs.soton.ac.uk" timestamp="2019-09-18T12:29:30Z" comment="">
        <patrol cur="13276" prev="0" auto="1" />
      </item>
      <item logid="4654" ns="2" title="User:Armen yeghoyan" pageid="2940" userid="1480" type="newusers" action="create2" user="Drn@ecs.soton.ac.uk" timestamp="2019-09-18T12:29:29Z" comment="" />
      <item logid="4653" ns="6" title="File:Putrouter-screen.jpg" pageid="2885" img_sha1="3pw1mw2iemas1av3leiw4rthw6a1wxf" img_timestamp="2019-08-15T11:50:09Z" type="upload" action="overwrite" user="Arehin" timestamp="2019-08-15T11:50:09Z" comment="" />
      <item logid="4652" ns="0" title="Converting MyISAM tables to InnoDB" pageid="2938" type="patrol" action="patrol" user="Drn@ecs.soton.ac.uk" timestamp="2019-08-05T15:57:04Z" comment="">
        <patrol cur="13238" prev="13237" auto="1" />
      </item>
      <item logid="4651" ns="0" title="Converting MyISAM tables to InnoDB" pageid="2938" type="patrol" action="patrol" user="Drn@ecs.soton.ac.uk" timestamp="2019-08-05T15:54:53Z" comment="">
        <patrol cur="13237" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
</api>