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="20200710135829|289817" />
  </query-continue>
  <query>
    <logevents>
      <item logid="289827" ns="0" title="H.M.S. Devonshire (1927)" pageid="21359" logpage="21359" type="patrol" action="patrol" user="Tone" timestamp="2020-07-10T14:28:19Z" comment="">
        <patrol cur="302024" prev="295428" auto="1" />
      </item>
      <item logid="289826" ns="0" title="H.M.S. Moorhen (1901)" pageid="26036" logpage="26036" type="patrol" action="patrol" user="Tone" timestamp="2020-07-10T14:27:19Z" comment="">
        <patrol cur="302023" prev="299041" auto="1" />
      </item>
      <item logid="289825" ns="0" title="Albert Eric Sercombe" pageid="31042" logpage="31042" type="patrol" action="patrol" user="Tone" timestamp="2020-07-10T14:21:43Z" comment="">
        <patrol cur="302022" prev="302019" auto="1" />
      </item>
      <item logid="289824" ns="0" title="H.M.S. Hawkins (1917)" pageid="4027" logpage="4027" type="patrol" action="patrol" user="Tone" timestamp="2020-07-10T14:14:37Z" comment="">
        <patrol cur="302021" prev="301989" auto="1" />
      </item>
      <item logid="289823" ns="0" title="Sydney Keith Smyth" pageid="24217" logpage="24217" type="patrol" action="patrol" user="FredBot" timestamp="2020-07-10T14:12:03Z" comment="">
        <patrol cur="302020" prev="288338" auto="1" />
      </item>
      <item logid="289822" ns="0" title="Albert Eric Sercombe" pageid="31042" logpage="31042" type="patrol" action="patrol" user="FredBot" timestamp="2020-07-10T14:11:58Z" comment="">
        <patrol cur="302019" prev="302016" auto="1" />
      </item>
      <item logid="289821" ns="0" title="Walter Wilmot Sitwell" pageid="29196" logpage="29196" type="patrol" action="patrol" user="FredBot" timestamp="2020-07-10T14:11:39Z" comment="">
        <patrol cur="302018" prev="302014" auto="1" />
      </item>
      <item logid="289820" ns="0" title="Eustace Harold Wace" pageid="30267" logpage="30267" type="patrol" action="patrol" user="FredBot" timestamp="2020-07-10T14:11:35Z" comment="">
        <patrol cur="302017" prev="295992" auto="1" />
      </item>
      <item logid="289819" ns="0" title="Albert Eric Sercombe" pageid="31042" logpage="31042" type="patrol" action="patrol" user="FredBot" timestamp="2020-07-10T14:11:32Z" comment="">
        <patrol cur="302016" prev="0" auto="1" />
      </item>
      <item logid="289818" ns="0" title="Portsmouth Royal Dockyard" pageid="4559" logpage="4559" type="patrol" action="patrol" user="Tone" timestamp="2020-07-10T14:03:23Z" comment="">
        <patrol cur="302015" prev="302013" auto="1" />
      </item>
    </logevents>
  </query>
</api>