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="20220705125014|158" />
  </query-continue>
  <query>
    <logevents>
      <item logid="168" ns="0" title="General FAQs" pageid="28" type="patrol" action="patrol" user="Admin" timestamp="2023-05-05T19:08:15Z" comment="">
        <patrol cur="462" prev="398" auto="1" />
      </item>
      <item logid="167" ns="0" title="Becoming a Railcam Supporter" pageid="22" type="patrol" action="patrol" user="Admin" timestamp="2023-05-05T19:03:06Z" comment="">
        <patrol cur="461" prev="403" auto="1" />
      </item>
      <item logid="166" ns="0" title="Useful links and sites" pageid="35" type="patrol" action="patrol" user="Admin" timestamp="2023-03-02T12:12:50Z" comment="">
        <patrol cur="451" prev="450" auto="1" />
      </item>
      <item logid="165" ns="0" title="Useful links and sites" pageid="35" type="patrol" action="patrol" user="Admin" timestamp="2023-03-02T12:12:35Z" comment="">
        <patrol cur="450" prev="449" auto="1" />
      </item>
      <item logid="164" ns="0" title="Useful links and sites" pageid="35" type="patrol" action="patrol" user="Admin" timestamp="2023-03-02T12:12:09Z" comment="">
        <patrol cur="449" prev="356" auto="1" />
      </item>
      <item logid="163" ns="0" title="General information about our diagrams" pageid="39" type="patrol" action="patrol" user="Admin" timestamp="2022-11-22T11:07:45Z" comment="">
        <patrol cur="433" prev="432" auto="1" />
      </item>
      <item logid="162" ns="0" title="General information about our diagrams" pageid="39" type="patrol" action="patrol" user="Admin" timestamp="2022-11-22T10:08:02Z" comment="">
        <patrol cur="432" prev="431" auto="1" />
      </item>
      <item logid="161" ns="0" title="General information about our diagrams" pageid="39" type="patrol" action="patrol" user="Admin" timestamp="2022-11-22T10:07:49Z" comment="">
        <patrol cur="431" prev="0" auto="1" />
      </item>
      <item logid="160" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="Admin" timestamp="2022-11-22T09:59:55Z" comment="">
        <patrol cur="430" prev="402" auto="1" />
      </item>
      <item logid="159" ns="0" title="Approach Alarms" pageid="38" type="patrol" action="patrol" user="Admin" timestamp="2022-07-05T13:01:01Z" comment="">
        <patrol cur="421" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
</api>