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="20240703132828|300" />
  </query-continue>
  <query>
    <logevents>
      <item logid="310" ns="0" title="Marketing Committee" pageid="913" type="patrol" action="patrol" user="Augustan admin" timestamp="2024-09-25T19:27:04Z" comment="">
        <patrol cur="6575" prev="0" auto="1" />
      </item>
      <item logid="309" ns="0" title="Communications" pageid="21" type="patrol" action="patrol" user="Augustan admin" timestamp="2024-09-25T19:26:26Z" comment="">
        <patrol cur="6574" prev="6554" auto="1" />
      </item>
      <item logid="308" ns="0" title="Marketing Committee" pageid="913" type="delete" action="delete" user="Augustan admin" timestamp="2024-09-25T19:24:24Z" comment="move to Communications Dept." />
      <item logid="307" ns="2" title="User:Dorland2" pageid="0" userid="20" type="newusers" action="create2" user="Augustan admin" timestamp="2024-08-22T14:03:53Z" comment="Comm. Chair." />
      <item logid="306" ns="2" title="User:Leedor" pageid="0" olduser="Leedor" newuser="Dorland" edits="0" type="renameuser" action="renameuser" user="Augustan admin" timestamp="2024-08-18T14:42:50Z" comment="standardization" />
      <item logid="305" ns="2" title="User:Dorland" pageid="0" type="rights" action="rights" user="Augustan admin" timestamp="2024-08-18T14:41:56Z" comment="">
        <rights new="" old="bureaucrat" />
      </item>
      <item logid="304" ns="2" title="User:Dorland" pageid="0" type="rights" action="rights" user="Augustan admin" timestamp="2024-08-18T14:41:48Z" comment="">
        <rights new="bureaucrat" old="" />
      </item>
      <item logid="303" ns="2" title="User:Leedor" pageid="0" userid="19" type="newusers" action="byemail" user="Augustan admin" timestamp="2024-08-16T17:59:53Z" comment="Committee Chair" />
      <item logid="302" ns="2" title="User:Hartwell" pageid="0" userid="18" type="newusers" action="create2" user="Augustan admin" timestamp="2024-07-04T18:25:59Z" comment="officer" />
      <item logid="301" ns="2" title="User:Jhartwell" pageid="0" type="block" action="block" user="Augustan admin" timestamp="2024-07-04T18:24:47Z" comment="cannot login">
        <block flags="nocreate,noemail" duration="infinite" />
      </item>
    </logevents>
  </query>
</api>