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="20181210025507|1098" />
  </query-continue>
  <query>
    <logevents>
      <item logid="1108" ns="0" title="Building Bitfighter" pageid="5" type="patrol" action="patrol" user="Watusimoto" timestamp="2023-01-09T02:37:43Z" comment="">
        <patrol cur="5371" prev="5370" auto="1" />
      </item>
      <item logid="1107" ns="0" title="Building Bitfighter" pageid="5" type="patrol" action="patrol" user="Watusimoto" timestamp="2023-01-09T02:35:26Z" comment="">
        <patrol cur="5370" prev="5369" auto="1" />
      </item>
      <item logid="1106" ns="0" title="Building Bitfighter" pageid="5" type="patrol" action="patrol" user="Watusimoto" timestamp="2023-01-09T02:34:55Z" comment="">
        <patrol cur="5369" prev="5367" auto="1" />
      </item>
      <item logid="1105" ns="0" title="Release checklist" pageid="6" type="patrol" action="patrol" user="Watusimoto" timestamp="2021-06-06T08:58:00Z" comment="">
        <patrol cur="5368" prev="5364" auto="1" />
      </item>
      <item logid="1104" ns="0" title="Building Bitfighter" pageid="5" type="patrol" action="patrol" user="Watusimoto" timestamp="2020-07-17T06:14:09Z" comment="">
        <patrol cur="5367" prev="5366" auto="1" />
      </item>
      <item logid="1103" ns="0" title="Building Bitfighter" pageid="5" type="patrol" action="patrol" user="Watusimoto" timestamp="2020-07-17T06:13:25Z" comment="">
        <patrol cur="5366" prev="5365" auto="1" />
      </item>
      <item logid="1102" ns="0" title="Building Bitfighter" pageid="5" type="patrol" action="patrol" user="Watusimoto" timestamp="2020-07-17T06:12:58Z" comment="">
        <patrol cur="5365" prev="5356" auto="1" />
      </item>
      <item logid="1101" ns="0" title="Release checklist" pageid="6" type="patrol" action="patrol" user="Raptor" timestamp="2020-06-29T00:18:06Z" comment="">
        <patrol cur="5364" prev="5363" auto="1" />
      </item>
      <item logid="1100" ns="0" title="Release checklist" pageid="6" type="patrol" action="patrol" user="Raptor" timestamp="2020-06-28T20:58:22Z" comment="">
        <patrol cur="5363" prev="5360" auto="1" />
      </item>
      <item logid="1099" ns="0" title="Release checklist" pageid="6" type="patrol" action="patrol" user="Raptor" timestamp="2018-12-12T18:18:04Z" comment="">
        <patrol cur="5360" prev="5359" auto="1" />
      </item>
    </logevents>
  </query>
</api>