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="20190618170930|20147" />
  </query-continue>
  <query>
    <logevents>
      <item logid="20157" action="patrol" ns="2" title="Gebruiker:Moem/Was dat Wodka?" pageid="4442" type="patrol" user="Moem" timestamp="2019-06-25T19:33:20Z" comment="">
        <patrol cur="28421" prev="26575" auto="1" />
      </item>
      <item logid="20156" action="patrol" ns="2" title="Gebruiker:Redhead/BoekScanner" pageid="4763" type="patrol" user="Stoneshop" timestamp="2019-06-22T08:33:19Z" comment="">
        <patrol cur="28420" prev="28419" auto="1" />
      </item>
      <item logid="20155" action="patrol" ns="2" title="Gebruiker:Redhead/BoekScanner" pageid="4763" type="patrol" user="Stoneshop" timestamp="2019-06-22T08:31:45Z" comment="">
        <patrol cur="28419" prev="28418" auto="1" />
      </item>
      <item logid="20154" action="patrol" ns="2" title="Gebruiker:Redhead/BoekScanner" pageid="4763" type="patrol" user="Stoneshop" timestamp="2019-06-22T08:27:09Z" comment="">
        <patrol cur="28418" prev="28160" auto="1" />
      </item>
      <item logid="20153" action="patrol" ns="0" title="Bijeenkomst 18 juni 2019" pageid="5260" type="patrol" user="Spider" timestamp="2019-06-18T18:35:25Z" comment="">
        <patrol cur="28410" prev="28409" auto="1" />
      </item>
      <item logid="20152" action="patrol" ns="0" title="Bijeenkomst 18 juni 2019" pageid="5260" type="patrol" user="Spider" timestamp="2019-06-18T17:14:32Z" comment="">
        <patrol cur="28409" prev="28391" auto="1" />
      </item>
      <item logid="20151" action="patrol" ns="0" title="Bijeenkomst 31 december 2019" pageid="5377" type="patrol" user="Spider" timestamp="2019-06-18T17:13:52Z" comment="">
        <patrol cur="28408" prev="28404" auto="1" />
      </item>
      <item logid="20150" action="patrol" ns="0" title="Nieuwjaarsborrel 2020" pageid="5379" type="patrol" user="Spider" timestamp="2019-06-18T17:13:04Z" comment="">
        <patrol cur="28407" prev="0" auto="1" />
      </item>
      <item logid="20149" action="patrol" ns="0" title="Bijeenkomst 28 januari 2020" pageid="5378" type="patrol" user="Spider" timestamp="2019-06-18T17:11:21Z" comment="">
        <patrol cur="28406" prev="0" auto="1" />
      </item>
      <item logid="20148" action="patrol" ns="0" title="Bijeenkomst 31 december 2019" pageid="5377" type="patrol" user="Spider" timestamp="2019-06-18T17:10:16Z" comment="">
        <patrol cur="28404" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
</api>