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="2865" pageid="1595" ns="0" title="Wishlist" type="patrol" action="patrol" user="WikiAdmin" timestamp="2022-02-14T15:45:23Z" comment="">
        <patrol auto="1" prev="6146" cur="6147" />
      </item>
      <item logid="2864" pageid="1595" ns="0" title="Wishlist" type="patrol" action="patrol" user="WikiAdmin" timestamp="2022-02-14T15:44:55Z" comment="">
        <patrol auto="1" prev="5401" cur="6146" />
      </item>
      <item logid="2863" pageid="1" ns="0" title="Main Page" type="patrol" action="patrol" user="WikiAdmin" timestamp="2019-04-30T08:13:30Z" comment="">
        <patrol auto="1" prev="6118" cur="6141" />
      </item>
      <item logid="2862" pageid="0" ns="2" title="User:Rohan" type="newusers" action="create2" user="Alkacon" timestamp="2018-03-01T08:27:26Z" comment="">
        <param>952</param>
      </item>
      <item logid="2861" pageid="2591" ns="2" title="User:Gateway Technolabs" type="newusers" action="create2" user="WikiAdmin" timestamp="2017-02-17T16:12:19Z" comment="">
        <param>951</param>
      </item>
      <item logid="2860" pageid="1" ns="0" title="Main Page" type="patrol" action="patrol" user="WikiAdmin" timestamp="2017-02-17T16:08:58Z" comment="">
        <patrol auto="1" prev="6048" cur="6118" />
      </item>
      <item logid="2859" pageid="0" ns="2" title="User:Jesús" type="newusers" action="create2" user="Alkacon" timestamp="2016-11-25T07:47:03Z" comment="">
        <param>950</param>
      </item>
      <item logid="2858" pageid="0" ns="2" title="User:Kai Widmann" type="newusers" action="create2" user="Alkacon" timestamp="2016-11-25T07:46:11Z" comment="">
        <param>949</param>
      </item>
      <item logid="2857" pageid="0" ns="2" title="User:M. Rosenthal" type="newusers" action="create2" user="Alkacon" timestamp="2016-11-25T07:45:54Z" comment="">
        <param>948</param>
      </item>
      <item logid="2856" pageid="0" ns="2" title="User:Andrea Yestan" type="newusers" action="create2" user="Alkacon" timestamp="2016-07-20T06:21:56Z" comment="">
        <param>947</param>
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2016-07-04T06:53:50Z" />
  </query-continue>
</api>