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="20210129193016|639" />
  </query-continue>
  <query>
    <logevents>
      <item logid="649" ns="0" title="Session 69" pageid="152" type="patrol" action="patrol" user="AlStanford" timestamp="2021-01-29T19:39:52Z" comment="">
        <patrol cur="666" prev="656" auto="1" />
      </item>
      <item logid="648" ns="0" title="All sessions" pageid="2" type="patrol" action="patrol" user="AlStanford" timestamp="2021-01-29T19:38:51Z" comment="">
        <patrol cur="665" prev="650" auto="1" />
      </item>
      <item logid="647" ns="0" title="Session 68" pageid="151" type="patrol" action="patrol" user="AlStanford" timestamp="2021-01-29T19:38:44Z" comment="">
        <patrol cur="664" prev="655" auto="1" />
      </item>
      <item logid="646" ns="0" title="Session 67" pageid="150" type="patrol" action="patrol" user="AlStanford" timestamp="2021-01-29T19:37:30Z" comment="">
        <patrol cur="663" prev="654" auto="1" />
      </item>
      <item logid="645" ns="0" title="Session 66" pageid="149" type="patrol" action="patrol" user="AlStanford" timestamp="2021-01-29T19:36:48Z" comment="">
        <patrol cur="662" prev="653" auto="1" />
      </item>
      <item logid="644" ns="0" title="Session 65" pageid="148" type="patrol" action="patrol" user="AlStanford" timestamp="2021-01-29T19:35:56Z" comment="">
        <patrol cur="661" prev="652" auto="1" />
      </item>
      <item logid="643" ns="0" title="Session 64" pageid="147" type="patrol" action="patrol" user="AlStanford" timestamp="2021-01-29T19:34:28Z" comment="">
        <patrol cur="660" prev="659" auto="1" />
      </item>
      <item logid="642" ns="0" title="Session 64" pageid="147" type="patrol" action="patrol" user="AlStanford" timestamp="2021-01-29T19:33:55Z" comment="">
        <patrol cur="659" prev="658" auto="1" />
      </item>
      <item logid="641" ns="0" title="Session 64" pageid="147" type="patrol" action="patrol" user="AlStanford" timestamp="2021-01-29T19:32:17Z" comment="">
        <patrol cur="658" prev="657" auto="1" />
      </item>
      <item logid="640" ns="0" title="Session 64" pageid="147" type="patrol" action="patrol" user="AlStanford" timestamp="2021-01-29T19:31:22Z" comment="">
        <patrol cur="657" prev="651" auto="1" />
      </item>
    </logevents>
  </query>
</api>