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="20160519140512|166" />
  </query-continue>
  <query>
    <logevents>
      <item logid="176" ns="2" title="Usuario:Mjerez01" pageid="120" type="patrol" action="patrol" user="Adm wiki 803335" timestamp="2016-05-23T13:46:12Z" comment="">
        <patrol cur="406" prev="0" auto="1" />
      </item>
      <item logid="175" ns="2" title="Usuario:Mjerez01" pageid="120" userid="96" type="newusers" action="create2" user="Adm wiki 803335" timestamp="2016-05-23T13:46:12Z" comment="" />
      <item logid="174" ns="2" title="Usuario:Victor" pageid="117" type="patrol" action="patrol" user="Adm wiki 803335" timestamp="2016-05-20T10:35:32Z" comment="">
        <patrol cur="401" prev="0" auto="1" />
      </item>
      <item logid="173" ns="2" title="Usuario:Victor" pageid="117" userid="95" type="newusers" action="create2" user="Adm wiki 803335" timestamp="2016-05-20T10:35:32Z" comment="" />
      <item logid="172" ns="2" title="Usuario:MiguelAguilera" pageid="116" type="patrol" action="patrol" user="Adm wiki 803335" timestamp="2016-05-20T10:34:15Z" comment="">
        <patrol cur="400" prev="0" auto="1" />
      </item>
      <item logid="171" ns="2" title="Usuario:MiguelAguilera" pageid="116" userid="94" type="newusers" action="create2" user="Adm wiki 803335" timestamp="2016-05-20T10:34:15Z" comment="" />
      <item logid="170" ns="2" title="Usuario:Pablo Martin" pageid="0" userid="93" type="newusers" action="create" user="Pablo Martin" timestamp="2016-05-20T06:53:55Z" comment="" />
      <item logid="169" ns="2" title="Usuario:Pablo Márquez" pageid="0" userid="92" type="newusers" action="create" user="Pablo Márquez" timestamp="2016-05-19T15:03:50Z" comment="" />
      <item logid="168" ns="2" title="Usuario:Imaria01" pageid="0" userid="91" type="newusers" action="create" user="Imaria01" timestamp="2016-05-19T14:26:07Z" comment="" />
      <item logid="167" ns="2" title="Usuario:Prucha" pageid="111" type="block" action="reblock" user="Adm wiki 803335" timestamp="2016-05-19T14:05:24Z" comment="solo de prueba">
        <block flags="nocreate,noemail" duration="infinite" />
      </item>
    </logevents>
  </query>
</api>