You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <logevents>
      <item logid="1937" pageid="0" ns="2" title="User:Tjlfitzgibbon" type="newusers" action="create" user="Tjlfitzgibbon" timestamp="2023-03-23T16:41:28Z" comment="">
        <param>1627</param>
      </item>
      <item logid="1936" pageid="1278" ns="6" title="File:Sota-flyer.jpg" type="delete" action="restore" user="Thebruce" timestamp="2018-03-15T18:14:38Z" comment="1 revision and 1 file restored" />
      <item logid="1935" pageid="1277" ns="0" title="Server 04" type="delete" action="restore" user="Thebruce" timestamp="2018-03-15T18:14:36Z" comment="1 revision restored" />
      <item logid="1934" pageid="1276" ns="14" title="Category:Glyph" type="delete" action="restore" user="Thebruce" timestamp="2018-03-15T18:14:35Z" comment="1 revision restored" />
      <item logid="1933" pageid="1275" ns="0" title="3rd MB-v4.mp3" type="delete" action="restore" user="Thebruce" timestamp="2018-03-15T18:14:34Z" comment="1 revision restored" />
      <item logid="1932" pageid="1274" ns="0" title="206.16.223.76" type="delete" action="restore" user="Thebruce" timestamp="2018-03-15T18:14:33Z" comment="30 revisions restored" />
      <item logid="1931" pageid="1273" ns="0" title="206.16.223.63" type="delete" action="restore" user="Thebruce" timestamp="2018-03-15T18:14:31Z" comment="1 revision restored" />
      <item logid="1930" pageid="1272" ns="0" title="SOTA" type="delete" action="restore" user="Thebruce" timestamp="2018-03-15T18:14:28Z" comment="36 revisions restored" />
      <item logid="1929" pageid="1271" ns="0" title="Server 02" type="delete" action="restore" user="Thebruce" timestamp="2018-03-15T18:14:27Z" comment="1 revision restored" />
      <item logid="1928" pageid="1270" ns="0" title="Laura Niven" type="delete" action="restore" user="Thebruce" timestamp="2018-03-15T18:13:29Z" comment="36 revisions restored" />
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2018-03-15T18:13:28Z" />
  </query-continue>
</api>