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="20191214135019|282229" />
  </query-continue>
  <query>
    <logevents>
      <item logid="282239" ns="0" title="George Johnstone" pageid="25709" logpage="25709" type="patrol" action="patrol" user="Tone" timestamp="2019-12-15T19:50:06Z" comment="">
        <patrol cur="294480" prev="294473" auto="1" />
      </item>
      <item logid="282238" ns="0" title="Eric Walter Harbord" pageid="15819" logpage="15819" type="patrol" action="patrol" user="Tone" timestamp="2019-12-15T16:15:17Z" comment="">
        <patrol cur="294479" prev="294478" auto="1" />
      </item>
      <item logid="282237" ns="0" title="Eric Walter Harbord" pageid="15819" logpage="15819" type="patrol" action="patrol" user="Tone" timestamp="2019-12-15T16:14:32Z" comment="">
        <patrol cur="294478" prev="294476" auto="1" />
      </item>
      <item logid="282236" ns="0" title="H.M. T.B. 84 (1889)" pageid="11425" logpage="11425" type="patrol" action="patrol" user="Tone" timestamp="2019-12-15T16:09:22Z" comment="">
        <patrol cur="294477" prev="286974" auto="1" />
      </item>
      <item logid="282235" ns="0" title="Eric Walter Harbord" pageid="15819" logpage="15819" type="patrol" action="patrol" user="Tone" timestamp="2019-12-15T16:06:13Z" comment="">
        <patrol cur="294476" prev="294475" auto="1" />
      </item>
      <item logid="282234" ns="0" title="Eric Walter Harbord" pageid="15819" logpage="15819" type="patrol" action="patrol" user="Tone" timestamp="2019-12-15T16:04:20Z" comment="">
        <patrol cur="294475" prev="290393" auto="1" />
      </item>
      <item logid="282233" ns="0" title="H.M.S. Thrasher (1895)" pageid="9214" logpage="9214" type="patrol" action="patrol" user="Tone" timestamp="2019-12-15T15:42:20Z" comment="">
        <patrol cur="294474" prev="294048" auto="1" />
      </item>
      <item logid="282232" ns="0" title="George Johnstone" pageid="25709" logpage="25709" type="patrol" action="patrol" user="Tone" timestamp="2019-12-15T15:38:33Z" comment="">
        <patrol cur="294473" prev="291302" auto="1" />
      </item>
      <item logid="282231" ns="0" title="Charles Cutlack Ennals" pageid="29475" logpage="29475" type="patrol" action="patrol" user="Tone" timestamp="2019-12-15T14:53:56Z" comment="">
        <patrol cur="294472" prev="289941" auto="1" />
      </item>
      <item logid="282230" ns="0" title="Pembroke Royal Dockyard" pageid="6078" logpage="6078" type="patrol" action="patrol" user="Tone" timestamp="2019-12-15T13:55:57Z" comment="">
        <patrol cur="294471" prev="288008" auto="1" />
      </item>
    </logevents>
  </query>
</api>