You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <logevents lecontinue="20190717120026|338" />
  </query-continue>
  <query>
    <logevents>
      <item logid="348" ns="10" title="Template:Datasets" pageid="4" type="patrol" action="patrol" user="Thm" timestamp="2026-01-12T15:23:46Z" comment="">
        <patrol cur="398" prev="397" auto="1" />
      </item>
      <item logid="347" ns="10" title="Template:Datasets" pageid="4" type="patrol" action="patrol" user="Thm" timestamp="2026-01-12T15:22:10Z" comment="">
        <patrol cur="397" prev="386" auto="1" />
      </item>
      <item logid="346" ns="2" title="User:Marvin" pageid="88" userid="13" type="newusers" action="create2" user="Thm" timestamp="2024-04-02T12:00:56Z" comment="" />
      <item logid="345" ns="2" title="User:Azdz" pageid="0" type="rights" action="rights" user="Jbauer" timestamp="2020-11-13T13:14:33Z" comment="Weil Johannes das so gesagt hat">
        <rights new="bureaucrat" old="" />
      </item>
      <item logid="344" ns="2" title="User:Azdz" pageid="0" userid="12" type="newusers" action="create2" user="Jg460" timestamp="2020-11-13T11:24:48Z" comment="" />
      <item logid="343" ns="0" title="IoT Device ID" pageid="85" type="patrol" action="patrol" user="Jbauer" timestamp="2019-08-05T07:25:51Z" comment="">
        <patrol cur="385" prev="382" auto="1" />
      </item>
      <item logid="342" ns="0" title="Fieldbus traffic simulation logs" pageid="46" type="patrol" action="patrol" user="Sw674" timestamp="2019-07-22T15:22:47Z" comment="">
        <patrol cur="384" prev="383" auto="1" />
      </item>
      <item logid="341" ns="0" title="Fieldbus traffic simulation logs" pageid="46" type="patrol" action="patrol" user="Sw674" timestamp="2019-07-22T15:21:07Z" comment="">
        <patrol cur="383" prev="339" auto="1" />
      </item>
      <item logid="340" ns="0" title="IoT Device ID" pageid="85" type="patrol" action="patrol" user="Jbauer" timestamp="2019-07-17T12:01:46Z" comment="">
        <patrol cur="382" prev="380" auto="1" />
      </item>
      <item logid="339" ns="2" title="User:Jbauer" pageid="86" type="patrol" action="patrol" user="Jbauer" timestamp="2019-07-17T12:01:25Z" comment="">
        <patrol cur="381" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
</api>