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="4848" pageid="1" ns="0" title="Main Page" type="patrol" action="patrol" user="Jca" timestamp="2024-07-27T04:22:52Z" comment="">
        <patrol cur="6922" prev="6863" auto="1" />
      </item>
      <item logid="4847" pageid="246" ns="0" title="Robobot" type="patrol" action="patrol" user="Jca" timestamp="2024-05-31T13:45:50Z" comment="">
        <patrol cur="6921" prev="6861" auto="1" />
      </item>
      <item logid="4846" pageid="161" ns="0" title="Software installation" type="patrol" action="patrol" user="Jca" timestamp="2024-05-26T10:35:31Z" comment="">
        <patrol cur="6920" prev="6919" auto="1" />
      </item>
      <item logid="4845" pageid="161" ns="0" title="Software installation" type="patrol" action="patrol" user="Jca" timestamp="2024-05-26T07:19:00Z" comment="">
        <patrol cur="6919" prev="6918" auto="1" />
      </item>
      <item logid="4844" pageid="161" ns="0" title="Software installation" type="patrol" action="patrol" user="Jca" timestamp="2024-05-26T07:07:57Z" comment="">
        <patrol cur="6918" prev="6917" auto="1" />
      </item>
      <item logid="4843" pageid="161" ns="0" title="Software installation" type="patrol" action="patrol" user="Jca" timestamp="2024-05-26T07:06:11Z" comment="">
        <patrol cur="6917" prev="6916" auto="1" />
      </item>
      <item logid="4842" pageid="161" ns="0" title="Software installation" type="patrol" action="patrol" user="Jca" timestamp="2024-05-26T07:05:15Z" comment="">
        <patrol cur="6916" prev="6915" auto="1" />
      </item>
      <item logid="4841" pageid="161" ns="0" title="Software installation" type="patrol" action="patrol" user="Jca" timestamp="2024-05-26T06:07:10Z" comment="">
        <patrol cur="6915" prev="6862" auto="1" />
      </item>
      <item logid="4840" pageid="737" ns="0" title="Robobot install on Raspberry" type="patrol" action="patrol" user="Jca" timestamp="2024-05-26T05:54:20Z" comment="">
        <patrol cur="6914" prev="6785" auto="1" />
      </item>
      <item logid="4839" pageid="789" ns="0" title="Scorpi" type="patrol" action="patrol" user="Jca" timestamp="2024-04-28T17:39:21Z" comment="">
        <patrol cur="6913" prev="6912" auto="1" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2024-04-28T17:27:56Z" />
  </query-continue>
</api>