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="20200109054736|10121" />
  </query-continue>
  <query>
    <logevents>
      <item logid="10131" ns="0" title="HowTo:Display Aircraft and Ships" pageid="2166" type="patrol" action="patrol" user="We7u" timestamp="2020-01-30T22:41:37Z" comment="">
        <patrol cur="6147" prev="6146" auto="1" />
      </item>
      <item logid="10130" ns="0" title="HowTo:Display Aircraft and Ships" pageid="2166" type="patrol" action="patrol" user="We7u" timestamp="2020-01-30T22:38:11Z" comment="">
        <patrol cur="6146" prev="6145" auto="1" />
      </item>
      <item logid="10129" ns="0" title="HowTo:Display Aircraft and Ships" pageid="2166" type="patrol" action="patrol" user="We7u" timestamp="2020-01-30T22:32:27Z" comment="">
        <patrol cur="6145" prev="6144" auto="1" />
      </item>
      <item logid="10128" ns="0" title="HowTo:Display Aircraft and Ships" pageid="2166" type="patrol" action="patrol" user="We7u" timestamp="2020-01-30T22:31:27Z" comment="">
        <patrol cur="6144" prev="6111" auto="1" />
      </item>
      <item logid="10127" ns="0" title="HowTo:VMware" pageid="1491" type="patrol" action="patrol" user="We7u" timestamp="2020-01-09T05:52:36Z" comment="">
        <patrol cur="6142" prev="5500" auto="1" />
      </item>
      <item logid="10126" ns="0" title="HowTo:Ubuntu 14.04-18.04" pageid="2191" type="patrol" action="patrol" user="We7u" timestamp="2020-01-09T05:50:41Z" comment="">
        <patrol cur="6141" prev="6124" auto="1" />
      </item>
      <item logid="10125" ns="0" title="HowTo:Raspbian Jessie" pageid="2170" type="patrol" action="patrol" user="We7u" timestamp="2020-01-09T05:49:55Z" comment="">
        <patrol cur="6140" prev="6139" auto="1" />
      </item>
      <item logid="10124" ns="0" title="HowTo:Raspbian Jessie" pageid="2170" type="patrol" action="patrol" user="We7u" timestamp="2020-01-09T05:49:31Z" comment="">
        <patrol cur="6139" prev="6138" auto="1" />
      </item>
      <item logid="10123" ns="0" title="HowTo:Raspbian Jessie" pageid="2170" type="patrol" action="patrol" user="We7u" timestamp="2020-01-09T05:48:59Z" comment="">
        <patrol cur="6138" prev="5749" auto="1" />
      </item>
      <item logid="10122" ns="0" title="HowTo:Raspbian" pageid="2174" type="patrol" action="patrol" user="We7u" timestamp="2020-01-09T05:47:59Z" comment="">
        <patrol cur="6137" prev="6136" auto="1" />
      </item>
    </logevents>
  </query>
</api>