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="20190223183329|17229" />
  </query-continue>
  <query>
    <logevents>
      <item logid="17239" ns="550" title="Notes:Identifying common electrical components" pageid="5337" logpage="5337" type="patrol" action="patrol" user="Alec" timestamp="2024-02-16T20:32:47Z" comment="">
        <patrol cur="9435" prev="9433" auto="1" />
      </item>
      <item logid="17238" ns="550" title="Notes:Identifying common electrical components/3-legged components" pageid="5338" logpage="5338" type="patrol" action="patrol" user="Alec" timestamp="2024-02-16T20:32:08Z" comment="">
        <patrol cur="9434" prev="0" auto="1" />
      </item>
      <item logid="17237" ns="550" title="Notes:Identifying common electrical components" pageid="5337" logpage="5337" type="patrol" action="patrol" user="Alec" timestamp="2024-02-16T20:27:34Z" comment="">
        <patrol cur="9433" prev="0" auto="1" />
      </item>
      <item logid="17236" ns="550" title="Notes:Desitiny taken zelot spawns" pageid="5336" logpage="5013" type="move" action="move" user="Alec" timestamp="2020-10-31T14:24:16Z" comment="">
        <move new_ns="550" new_title="Notes:Destiny taken zelot spawns" />
      </item>
      <item logid="17235" ns="558" title="Template data:Highlighting templates" pageid="1758" logpage="1758" type="patrol" action="patrol" user="Alec" timestamp="2020-07-18T17:47:43Z" comment="">
        <patrol cur="9430" prev="3754" auto="1" />
      </item>
      <item logid="17234" ns="10" title="Template:Link" pageid="5179" logpage="5179" type="patrol" action="patrol" user="Alec" timestamp="2020-07-18T16:42:43Z" comment="">
        <patrol cur="9429" prev="9103" auto="1" />
      </item>
      <item logid="17233" ns="0" title="Main Page" pageid="1" logpage="1" type="patrol" action="patrol" user="Alec" timestamp="2020-05-11T16:51:58Z" comment="">
        <patrol cur="9428" prev="8965" auto="1" />
      </item>
      <item logid="17232" ns="0" title="Mass units" pageid="5335" logpage="5335" type="patrol" action="patrol" user="Alec" timestamp="2019-03-10T07:01:57Z" comment="">
        <patrol cur="9427" prev="0" auto="1" />
      </item>
      <item logid="17231" ns="0" title="Quadratic equation" pageid="5334" logpage="5334" type="patrol" action="patrol" user="Alec" timestamp="2019-03-09T11:51:14Z" comment="">
        <patrol cur="9426" prev="0" auto="1" />
      </item>
      <item logid="17230" ns="0" title="Hexadecimal numbers" pageid="5333" logpage="5333" type="patrol" action="patrol" user="Alec" timestamp="2019-02-23T18:38:07Z" comment="">
        <patrol cur="9425" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
</api>