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 lestart="2020-05-21T08:51:08Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="1518" ns="0" title="McNeely Lake" pageid="579" type="patrol" action="patrol" user="Greg Miller" timestamp="2022-07-11T14:48:10Z" comment="">
        <patrol cur="773" prev="0" auto="1" />
      </item>
      <item logid="1517" ns="0" title="Freeman Lake" pageid="578" type="patrol" action="patrol" user="Greg Miller" timestamp="2022-07-11T14:42:20Z" comment="">
        <patrol cur="772" prev="0" auto="1" />
      </item>
      <item logid="1516" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="Greg Miller" timestamp="2022-07-11T14:36:52Z" comment="">
        <patrol cur="771" prev="770" auto="1" />
      </item>
      <item logid="1515" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="Greg Miller" timestamp="2022-07-11T14:35:04Z" comment="">
        <patrol cur="770" prev="766" auto="1" />
      </item>
      <item logid="1514" ns="2" title="User:Glitterrat13" pageid="0" type="newusers" action="create" userid="756" user="Glitterrat13" timestamp="2022-03-26T21:01:56Z" comment="" />
      <item logid="1513" ns="2" title="User:Billiarious" pageid="0" type="newusers" action="create" userid="755" user="Billiarious" timestamp="2021-08-18T20:30:29Z" comment="" />
      <item logid="1512" ns="2" title="User:Ngoldring" pageid="0" type="newusers" action="create" userid="754" user="Ngoldring" timestamp="2021-06-19T15:43:46Z" comment="" />
      <item logid="1511" ns="0" title="Ohio River" pageid="2" type="patrol" action="patrol" user="Greg Miller" timestamp="2021-02-16T18:17:53Z" comment="">
        <patrol cur="769" prev="754" auto="1" />
      </item>
      <item logid="1510" ns="0" title="Elkhorn Creek" pageid="13" type="patrol" action="patrol" user="Greg Miller" timestamp="2020-09-03T01:03:36Z" comment="">
        <patrol cur="768" prev="132" auto="1" />
      </item>
      <item logid="1509" ns="0" title="Harrods Creek" pageid="15" type="patrol" action="patrol" user="Greg Miller" timestamp="2020-06-12T18:41:49Z" comment="">
        <patrol cur="767" prev="759" auto="1" />
      </item>
    </logevents>
  </query>
</api>