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="20190418154914|274138" />
  </query-continue>
  <query>
    <logevents>
      <item logid="274148" ns="0" title="John de Mestre Hutchison" pageid="4734" logpage="4734" type="patrol" action="patrol" user="Tone" timestamp="2019-04-22T12:35:40Z" comment="">
        <patrol cur="286361" prev="286360" auto="1" />
      </item>
      <item logid="274147" ns="0" title="John de Mestre Hutchison" pageid="4734" logpage="4734" type="patrol" action="patrol" user="Tone" timestamp="2019-04-22T12:29:46Z" comment="">
        <patrol cur="286360" prev="286359" auto="1" />
      </item>
      <item logid="274146" ns="0" title="John de Mestre Hutchison" pageid="4734" logpage="4734" type="patrol" action="patrol" user="Simon Harley" timestamp="2019-04-21T12:51:56Z" comment="">
        <patrol cur="286359" prev="255638" auto="1" />
      </item>
      <item logid="274145" ns="0" title="Sim:WTF" pageid="29338" logpage="29338" type="patrol" action="patrol" user="Tone" timestamp="2019-04-20T17:55:44Z" comment="">
        <patrol cur="286358" prev="286357" auto="1" />
      </item>
      <item logid="274144" ns="0" title="Sim:WTF" pageid="29338" logpage="29338" type="patrol" action="patrol" user="Tone" timestamp="2019-04-20T17:51:18Z" comment="">
        <patrol cur="286357" prev="286011" auto="1" />
      </item>
      <item logid="274143" ns="0" title="Arthur Yerbury Moggridge" pageid="4693" logpage="4693" type="patrol" action="patrol" user="Tone" timestamp="2019-04-18T20:39:29Z" comment="">
        <patrol cur="286356" prev="244274" auto="1" />
      </item>
      <item logid="274142" ns="0" title="William Robert Mends" pageid="28868" logpage="28868" type="patrol" action="patrol" user="FredBot" timestamp="2019-04-18T15:49:29Z" comment="">
        <patrol cur="286355" prev="280656" auto="1" />
      </item>
      <item logid="274141" ns="0" title="Harry Woodfall Brent" pageid="22192" logpage="22192" type="patrol" action="patrol" user="FredBot" timestamp="2019-04-18T15:49:26Z" comment="">
        <patrol cur="286354" prev="280653" auto="1" />
      </item>
      <item logid="274140" ns="0" title="William Legh Pope" pageid="14628" logpage="14628" type="patrol" action="patrol" user="FredBot" timestamp="2019-04-18T15:49:22Z" comment="">
        <patrol cur="286353" prev="286249" auto="1" />
      </item>
      <item logid="274139" ns="0" title="John Stuart Crawford" pageid="28718" logpage="28718" type="patrol" action="patrol" user="FredBot" timestamp="2019-04-18T15:49:19Z" comment="">
        <patrol cur="286352" prev="286271" auto="1" />
      </item>
    </logevents>
  </query>
</api>