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="20161012173331|2526" />
  </query-continue>
  <query>
    <logevents>
      <item logid="2536" ns="0" title="Case Studies: SEVICI" pageid="149" type="patrol" action="patrol" user="Nimda" timestamp="2016-11-10T11:57:25Z" comment="">
        <patrol cur="1384" prev="841" auto="1" />
      </item>
      <item logid="2535" ns="0" title="Case Studies: Eje Aeropuerto (M-12), Airport Axis Toll Motorway, Spain" pageid="235" type="patrol" action="patrol" user="Nimda" timestamp="2016-11-08T10:59:14Z" comment="">
        <patrol cur="1383" prev="1251" auto="1" />
      </item>
      <item logid="2534" ns="0" title="Case Studies: Port of Agaete" pageid="416" type="patrol" action="patrol" user="Nimda" timestamp="2016-10-12T18:09:54Z" comment="">
        <patrol cur="1382" prev="0" auto="1" />
      </item>
      <item logid="2533" ns="0" title="Case Studies" pageid="23" type="patrol" action="patrol" user="Nimda" timestamp="2016-10-12T17:57:36Z" comment="">
        <patrol cur="1381" prev="1375" auto="1" />
      </item>
      <item logid="2532" ns="6" title="File:Agaete1.png" pageid="415" type="upload" action="upload" user="Nimda" timestamp="2016-10-12T17:56:42Z" comment="" />
      <item logid="2531" ns="6" title="File:Agaete.png" pageid="414" type="upload" action="upload" user="Nimda" timestamp="2016-10-12T17:56:29Z" comment="" />
      <item logid="2530" ns="0" title="Case Studies: Modlin Regional Airport, Warsaw, Poland" pageid="413" type="patrol" action="patrol" user="Nimda" timestamp="2016-10-12T17:53:32Z" comment="">
        <patrol cur="1378" prev="1377" auto="1" />
      </item>
      <item logid="2529" ns="0" title="Case Studies: Modlin Regional Airport, Warsaw, Poland" pageid="413" type="patrol" action="patrol" user="Nimda" timestamp="2016-10-12T17:53:18Z" comment="">
        <patrol cur="1377" prev="1376" auto="1" />
      </item>
      <item logid="2528" ns="0" title="Case Studies: Modlin Regional Airport, Warsaw, Poland" pageid="413" type="patrol" action="patrol" user="Nimda" timestamp="2016-10-12T17:52:24Z" comment="">
        <patrol cur="1376" prev="0" auto="1" />
      </item>
      <item logid="2527" ns="0" title="Case Studies" pageid="23" type="patrol" action="patrol" user="Nimda" timestamp="2016-10-12T17:34:30Z" comment="">
        <patrol cur="1375" prev="1368" auto="1" />
      </item>
    </logevents>
  </query>
</api>