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="20170820112654|537" />
  </query-continue>
  <query>
    <logevents>
      <item logid="547" action="patrol" ns="0" title="Колигер, Александр Николаевич" pageid="4" logpage="4" type="patrol" user="DmPokrov" timestamp="2018-05-26T09:01:41Z" comment="">
        <patrol cur="520" prev="318" auto="1" />
      </item>
      <item logid="546" action="patrol" ns="0" title="Библиотека Кампедии" pageid="151" logpage="151" type="patrol" user="DmPokrov" timestamp="2018-05-26T08:57:56Z" comment="">
        <patrol cur="519" prev="516" auto="1" />
      </item>
      <item logid="545" action="patrol" ns="0" title="Библиотека: Биографии и воспоминания" pageid="169" logpage="169" type="patrol" user="DmPokrov" timestamp="2018-05-26T08:56:27Z" comment="">
        <patrol cur="518" prev="517" auto="1" />
      </item>
      <item logid="544" action="patrol" ns="0" title="Библиотека: Биографии и воспоминания" pageid="169" logpage="169" type="patrol" user="DmPokrov" timestamp="2018-05-26T08:52:54Z" comment="">
        <patrol cur="517" prev="0" auto="1" />
      </item>
      <item logid="543" action="patrol" ns="0" title="Библиотека Кампедии" pageid="151" logpage="151" type="patrol" user="DmPokrov" timestamp="2018-05-26T08:40:48Z" comment="">
        <patrol cur="516" prev="482" auto="1" />
      </item>
      <item logid="542" action="patrol" ns="0" title="Шкатов, Николай Терентьевич" pageid="120" logpage="120" type="patrol" user="DmPokrov" timestamp="2017-09-28T07:58:15Z" comment="">
        <patrol cur="515" prev="460" auto="1" />
      </item>
      <item logid="541" action="patrol" ns="0" title="Газеты Набережных Челнов" pageid="65" logpage="65" type="patrol" user="DmPokrov" timestamp="2017-09-24T14:42:16Z" comment="">
        <patrol cur="514" prev="507" auto="1" />
      </item>
      <item logid="540" action="patrol" ns="0" title="Первые секретари Набережночелнинского горкома КПСС" pageid="99" logpage="99" type="patrol" user="DmPokrov" timestamp="2017-09-08T11:46:43Z" comment="">
        <patrol cur="513" prev="351" auto="1" />
      </item>
      <item logid="539" action="patrol" ns="0" title="Библиотека: Газеты" pageid="152" logpage="152" type="patrol" user="DmPokrov" timestamp="2017-08-20T11:30:14Z" comment="">
        <patrol cur="512" prev="496" auto="1" />
      </item>
      <item logid="538" action="patrol" ns="0" title="Библиотека: газета Три точки" pageid="153" logpage="153" type="patrol" user="DmPokrov" timestamp="2017-08-20T11:27:50Z" comment="">
        <patrol cur="511" prev="510" auto="1" />
      </item>
    </logevents>
  </query>
</api>