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 lestart="2019-11-28T07:44:40Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="13612" ns="3" title="User talk:Y. Yang" pageid="5585" type="patrol" action="patrol" user="Wohlgemuth" timestamp="2020-01-13T04:42:45Z" comment="">
        <patrol cur="17597" prev="0" auto="1" />
      </item>
      <item logid="13611" ns="3" title="User talk:Xingyu Zhao" pageid="5584" type="patrol" action="patrol" user="Wohlgemuth" timestamp="2020-01-13T04:42:38Z" comment="">
        <patrol cur="17596" prev="0" auto="1" />
      </item>
      <item logid="13610" ns="3" title="User talk:Meret Redetzki" pageid="5583" type="patrol" action="patrol" user="Wohlgemuth" timestamp="2020-01-13T04:42:32Z" comment="">
        <patrol cur="17595" prev="0" auto="1" />
      </item>
      <item logid="13609" ns="2" title="User:Wohlgemuth" pageid="1154" type="usermerge" action="deleteuser" user="Wohlgemuth" timestamp="2020-01-13T04:42:01Z" comment="">
        <param>Meret Red</param>
        <param>2476</param>
      </item>
      <item logid="13608" ns="2" title="User:Wohlgemuth" pageid="1154" type="usermerge" action="mergeuser" user="Wohlgemuth" timestamp="2020-01-13T04:42:01Z" comment="">
        <param>Meret Red</param>
        <param>2476</param>
        <param>Meret Redetzki</param>
        <param>2479</param>
      </item>
      <item logid="13607" ns="2" title="User:Meret Redetzki" pageid="0" type="newusers" action="byemail" userid="2479" user="Wohlgemuth" timestamp="2020-01-13T04:41:06Z" comment="" />
      <item logid="13606" ns="2" title="User:Y. Yang" pageid="0" type="newusers" action="byemail" userid="2478" user="Wohlgemuth" timestamp="2020-01-13T04:35:03Z" comment="" />
      <item logid="13605" ns="2" title="User:Xingyu Zhao" pageid="0" type="newusers" action="byemail" userid="2477" user="Wohlgemuth" timestamp="2020-01-13T04:34:24Z" comment="" />
      <item logid="13604" ns="2" title="User:Meret Red" pageid="0" type="newusers" action="byemail" userid="2476" user="Wohlgemuth" timestamp="2020-01-13T04:33:34Z" comment="" />
      <item logid="13603" ns="10" title="Template:LLL" pageid="4227" type="patrol" action="patrol" user="Wohlgemuth" timestamp="2019-11-28T07:45:35Z" comment="">
        <patrol cur="17594" prev="10086" auto="1" />
      </item>
    </logevents>
  </query>
</api>