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="7406" pageid="42" ns="0" title="Terms of Service and Privacy Policy" type="patrol" action="patrol" user="1164105" timestamp="2019-11-17T17:16:32Z" comment="">
        <patrol cur="18488" prev="18487" auto="1" />
      </item>
      <item logid="7405" pageid="42" ns="0" title="Terms of Service and Privacy Policy" type="patrol" action="patrol" user="1164105" timestamp="2019-11-14T23:22:53Z" comment="">
        <patrol cur="18487" prev="16902" auto="1" />
      </item>
      <item logid="7404" pageid="0" ns="3" title="User talk:203064" type="delete" action="delete" user="1223200" timestamp="2019-11-09T11:32:07Z" comment="Page was a question the user have now posted to the forums, making this page redundant." />
      <item logid="7403" pageid="3479" ns="0" title="Zoom Tool" type="patrol" action="patrol" user="1164105" timestamp="2019-11-05T18:54:55Z" comment="">
        <patrol cur="18475" prev="18474" auto="1" />
      </item>
      <item logid="7402" pageid="3479" ns="0" title="Zoom Tool" type="patrol" action="patrol" user="1164105" timestamp="2019-11-05T18:54:30Z" comment="">
        <patrol cur="18474" prev="18461" auto="1" />
      </item>
      <item logid="7401" pageid="3481" ns="6" title="File:Zoomsettings.jpg" type="upload" action="upload" user="1164105" timestamp="2019-11-05T18:53:49Z" comment="" />
      <item logid="7400" pageid="3480" ns="6" title="File:Tabs-example.gif" type="upload" action="upload" user="1223200" timestamp="2019-11-05T12:16:53Z" comment="" />
      <item logid="7399" pageid="2990" ns="0" title="Building Compendiums" type="patrol" action="patrol" user="1164105" timestamp="2019-11-01T21:05:13Z" comment="">
        <patrol cur="18466" prev="18196" auto="1" />
      </item>
      <item logid="7398" pageid="3479" ns="0" title="Zoom Tool" type="protect" action="protect" user="314" timestamp="2019-10-29T22:23:57Z" comment="High traffic page">
        <param>‎[edit=docwriters] (indefinite) ‎[move=docwriters] (indefinite)</param>
        <param />
      </item>
      <item logid="7397" pageid="3479" ns="0" title="Zoom Tool" type="patrol" action="patrol" user="314" timestamp="2019-10-29T22:21:44Z" comment="">
        <patrol cur="18460" prev="18458" auto="1" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2019-10-29T19:22:27Z" />
  </query-continue>
</api>