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="20170301224221|26" />
  </query-continue>
  <query>
    <logevents>
      <item logid="36" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="Sysop" timestamp="2017-07-13T16:29:08Z" comment="">
        <patrol cur="37" prev="24" auto="1" />
      </item>
      <item logid="35" ns="6" title="File:Rdlab.jpg" pageid="23" img_sha1="nvd9ytxopcscvii7vhlhrjqlvkmf4al" img_timestamp="2017-06-05T20:14:54Z" type="upload" action="upload" user="Sysop" timestamp="2017-06-05T20:14:54Z" comment="" />
      <item logid="34" ns="6" title="File:Annotat.png" pageid="22" img_sha1="cfhll699a0rn6msgekggq0qf10r6i9f" img_timestamp="2017-06-05T20:14:25Z" type="upload" action="upload" user="Sysop" timestamp="2017-06-05T20:14:25Z" comment="" />
      <item logid="33" ns="6" title="File:6works.png" pageid="21" img_sha1="exg0zfklaqvi41dk12091t4rb3az1y6" img_timestamp="2017-06-05T20:13:51Z" type="upload" action="upload" user="Sysop" timestamp="2017-06-05T20:13:51Z" comment="" />
      <item logid="32" ns="0" title="Annotat du livre de Yoran Koren" pageid="20" type="patrol" action="patrol" user="Sysop" timestamp="2017-06-05T20:12:38Z" comment="">
        <patrol cur="33" prev="0" auto="1" />
      </item>
      <item logid="31" ns="0" title="BLIK" pageid="4" type="patrol" action="patrol" user="Sysop" timestamp="2017-06-05T13:12:03Z" comment="">
        <patrol cur="32" prev="31" auto="1" />
      </item>
      <item logid="30" ns="0" title="BLIK" pageid="4" type="patrol" action="patrol" user="Sysop" timestamp="2017-06-05T13:11:44Z" comment="">
        <patrol cur="31" prev="30" auto="1" />
      </item>
      <item logid="29" ns="0" title="BLIK" pageid="4" type="patrol" action="patrol" user="Sysop" timestamp="2017-06-05T13:11:22Z" comment="">
        <patrol cur="30" prev="7" auto="1" />
      </item>
      <item logid="28" ns="0" title="NonSysD" pageid="19" type="patrol" action="patrol" user="Sysop" timestamp="2017-03-01T23:13:26Z" comment="">
        <patrol cur="29" prev="28" auto="1" />
      </item>
      <item logid="27" ns="0" title="NonSysD" pageid="19" type="patrol" action="patrol" user="Sysop" timestamp="2017-03-01T22:53:14Z" comment="">
        <patrol cur="28" prev="27" auto="1" />
      </item>
    </logevents>
  </query>
</api>