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="98049" pageid="4543" ns="0" title="Dwarf" type="patrol" action="patrol" user="Galya" timestamp="2019-08-19T21:45:00Z" comment="">
        <patrol cur="125630" prev="121904" auto="1" />
      </item>
      <item logid="98048" pageid="11539" ns="0" title="Ember Kazoo" type="patrol" action="patrol" user="Ember kazoo" timestamp="2019-08-19T02:42:08Z" comment="">
        <patrol cur="125627" prev="118618" auto="0" />
      </item>
      <item logid="98047" pageid="11539" ns="0" title="Ember Kazoo" type="patrol" action="patrol" user="Ember kazoo" timestamp="2019-08-19T02:42:00Z" comment="">
        <patrol cur="125628" prev="125627" auto="0" />
      </item>
      <item logid="98046" pageid="11539" ns="0" title="Ember Kazoo" type="patrol" action="patrol" user="Ember kazoo" timestamp="2019-08-19T02:41:54Z" comment="">
        <patrol cur="125629" prev="125628" auto="0" />
      </item>
      <item logid="98045" pageid="33349" ns="0" title="Artificer Guild" type="patrol" action="patrol" user="Sven" timestamp="2019-08-19T02:41:47Z" comment="">
        <patrol cur="125626" prev="125462" auto="0" />
      </item>
      <item logid="98044" pageid="0" ns="2" title="User:Todelyn" type="newusers" action="create" user="Todelyn" timestamp="2019-08-18T18:52:25Z" comment="">
        <param>34509</param>
      </item>
      <item logid="98043" pageid="1308" ns="14" title="Category:Realms" type="patrol" action="patrol" user="Antoinette" timestamp="2019-08-15T21:06:09Z" comment="">
        <patrol cur="125625" prev="125624" auto="1" />
      </item>
      <item logid="98042" pageid="1308" ns="14" title="Category:Realms" type="patrol" action="patrol" user="Antoinette" timestamp="2019-08-15T21:05:21Z" comment="">
        <patrol cur="125624" prev="125268" auto="1" />
      </item>
      <item logid="98041" pageid="37092" ns="0" title="Bozzy" type="patrol" action="patrol" user="Tactism" timestamp="2019-08-14T00:42:26Z" comment="">
        <patrol cur="125536" prev="0" auto="0" />
      </item>
      <item logid="98040" pageid="1562" ns="0" title="The Juggernauts" type="patrol" action="patrol" user="Skald the Warsinger" timestamp="2019-08-13T23:55:33Z" comment="">
        <patrol cur="125587" prev="125551" auto="0" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2019-08-13T04:00:52Z" />
  </query-continue>
</api>