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>
    <logevents>
      <item logid="849" pageid="27" ns="0" title="Create Company Attachment" type="patrol" action="patrol" user="DanielleH" timestamp="2023-11-21T09:21:12Z" comment="">
        <patrol cur="1190" prev="1094" auto="1" />
      </item>
      <item logid="848" pageid="20" ns="0" title="Create Job Attachment" type="patrol" action="patrol" user="DanielleH" timestamp="2023-11-21T09:20:05Z" comment="">
        <patrol cur="1189" prev="922" auto="1" />
      </item>
      <item logid="847" pageid="299" ns="0" title="Get Vehicle Checks By Status" type="patrol" action="patrol" user="DanielleH" timestamp="2023-09-22T11:50:05Z" comment="">
        <patrol cur="1188" prev="1187" auto="1" />
      </item>
      <item logid="846" pageid="299" ns="0" title="Get Vehicle Checks By Status" type="patrol" action="patrol" user="DanielleH" timestamp="2023-09-22T11:49:52Z" comment="">
        <patrol cur="1187" prev="1183" auto="1" />
      </item>
      <item logid="845" pageid="10" ns="0" title="Create Jobs" type="patrol" action="patrol" user="DanielleH" timestamp="2023-01-20T09:52:29Z" comment="">
        <patrol cur="1186" prev="1182" auto="1" />
      </item>
      <item logid="844" pageid="253" ns="0" title="Delete Item By Name" type="patrol" action="patrol" user="DanielleH" timestamp="2021-08-03T15:12:54Z" comment="">
        <patrol cur="1185" prev="1184" auto="1" />
      </item>
      <item logid="843" pageid="253" ns="0" title="Delete Item By Name" type="patrol" action="patrol" user="DanielleH" timestamp="2021-08-03T15:12:46Z" comment="">
        <patrol cur="1184" prev="896" auto="1" />
      </item>
      <item logid="842" pageid="299" ns="0" title="Get Vehicle Checks By Status" type="patrol" action="patrol" user="Danielle" timestamp="2020-11-23T11:09:05Z" comment="">
        <patrol cur="1183" prev="1147" auto="1" />
      </item>
      <item logid="841" pageid="10" ns="0" title="Create Jobs" type="patrol" action="patrol" user="Danielle" timestamp="2020-11-19T11:24:12Z" comment="">
        <patrol cur="1182" prev="1181" auto="1" />
      </item>
      <item logid="840" pageid="10" ns="0" title="Create Jobs" type="patrol" action="patrol" user="Danielle" timestamp="2020-11-19T11:23:50Z" comment="">
        <patrol cur="1181" prev="1180" auto="1" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2020-11-19T11:23:19Z" />
  </query-continue>
</api>