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="12788" pageid="0" ns="2" title="User:LarryJohnson" type="newusers" action="create2" user="Gage" timestamp="2019-09-20T23:31:35Z" comment="captcha malfunction, password sent by e-mail">
        <param>2191</param>
      </item>
      <item logid="12787" pageid="4672" ns="3" title="User talk:Ian Goh" type="patrol" action="patrol" user="Gage" timestamp="2019-09-19T00:41:33Z" comment="">
        <patrol auto="1" prev="0" cur="18869" />
      </item>
      <item logid="12786" pageid="4671" ns="2" title="User:Ian Goh" type="patrol" action="patrol" user="Gage" timestamp="2019-09-19T00:41:33Z" comment="">
        <patrol auto="1" prev="0" cur="18868" />
      </item>
      <item logid="12785" pageid="4671" ns="2" title="User:Ian Goh" type="newusers" action="create2" user="Gage" timestamp="2019-09-19T00:41:33Z" comment="">
        <param>2190</param>
      </item>
      <item logid="12784" pageid="4670" ns="3" title="User talk:Xixiao" type="patrol" action="patrol" user="Gage" timestamp="2019-09-16T00:42:13Z" comment="">
        <patrol auto="1" prev="0" cur="18867" />
      </item>
      <item logid="12783" pageid="4669" ns="2" title="User:Xixiao" type="patrol" action="patrol" user="Gage" timestamp="2019-09-16T00:42:13Z" comment="">
        <patrol auto="1" prev="0" cur="18866" />
      </item>
      <item logid="12782" pageid="4669" ns="2" title="User:Xixiao" type="newusers" action="create2" user="Gage" timestamp="2019-09-16T00:42:13Z" comment="">
        <param>2189</param>
      </item>
      <item logid="12781" pageid="4104" ns="2" title="User:Tani" type="rights" action="rights" user="Gage" timestamp="2019-09-15T19:19:11Z" comment="we need all the help we can get :-) ">
        <rights new="sysop, bureaucrat, widgeteditor" old="" />
      </item>
      <item logid="12780" pageid="0" ns="2" title="User:DavidReagan" type="newusers" action="create2" user="Gage" timestamp="2019-09-12T04:04:35Z" comment="captcha malfunction, password sent by e-mail">
        <param>2188</param>
      </item>
      <item logid="12779" pageid="4668" ns="3" title="User talk:Metalprof" type="patrol" action="patrol" user="Gage" timestamp="2019-09-11T16:34:06Z" comment="">
        <patrol auto="1" prev="0" cur="18865" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2019-09-11T16:34:06Z" />
  </query-continue>
</api>