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 lestart="2018-10-18T19:27:27Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="1006" ns="0" title="Forside" pageid="1" type="patrol" action="patrol" user="Troels Olesen" timestamp="2019-10-12T20:14:14Z" comment="">
        <patrol cur="992" prev="810" auto="1" />
      </item>
      <item logid="1005" ns="0" title="Deltager liste 2017" pageid="0" type="move" action="move" user="Troels Olesen" timestamp="2018-10-25T06:32:39Z" comment="">
        <move new_ns="0" new_title="Deltager liste DHW17" suppressedredirect="" />
      </item>
      <item logid="1004" ns="0" title="Åbningscermoni" pageid="11" type="patrol" action="patrol" user="Troels Olesen" timestamp="2018-10-18T19:36:50Z" comment="">
        <patrol cur="990" prev="989" auto="1" />
      </item>
      <item logid="1003" ns="0" title="Åbningscermoni" pageid="11" type="patrol" action="patrol" user="Troels Olesen" timestamp="2018-10-18T19:36:36Z" comment="">
        <patrol cur="989" prev="823" auto="1" />
      </item>
      <item logid="1002" ns="0" title="Transport økonomi" pageid="18" type="patrol" action="patrol" user="Troels Olesen" timestamp="2018-10-18T19:34:05Z" comment="">
        <patrol cur="988" prev="987" auto="1" />
      </item>
      <item logid="1001" ns="0" title="Transport økonomi" pageid="18" type="patrol" action="patrol" user="Troels Olesen" timestamp="2018-10-18T19:32:37Z" comment="">
        <patrol cur="987" prev="986" auto="1" />
      </item>
      <item logid="1000" ns="0" title="Transport økonomi" pageid="18" type="patrol" action="patrol" user="Troels Olesen" timestamp="2018-10-18T19:31:48Z" comment="">
        <patrol cur="986" prev="979" auto="1" />
      </item>
      <item logid="999" ns="0" title="Transport tidsplan" pageid="44" type="patrol" action="patrol" user="Troels Olesen" timestamp="2018-10-18T19:29:32Z" comment="">
        <patrol cur="985" prev="0" auto="1" />
      </item>
      <item logid="998" ns="0" title="Transport tidsplan" pageid="44" type="move" action="move" user="Troels Olesen" timestamp="2018-10-18T19:28:35Z" comment="">
        <move new_ns="0" new_title="Transport tidsplan DHW17" suppressedredirect="" />
      </item>
      <item logid="997" ns="0" title="Deltager liste" pageid="43" type="patrol" action="patrol" user="Troels Olesen" timestamp="2018-10-18T19:27:44Z" comment="">
        <patrol cur="983" prev="982" auto="1" />
      </item>
    </logevents>
  </query>
</api>