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="20130603111148|540" />
  </query-continue>
  <query>
    <logevents>
      <item logid="550" ns="0" title="Pages" pageid="74" logpage="74" type="patrol" action="patrol" user="Root" timestamp="2015-08-21T19:21:37Z" comment="">
        <patrol cur="1009" prev="956" auto="1" />
      </item>
      <item logid="549" ns="0" title="Client New Site Testing Protocol" pageid="142" logpage="142" type="patrol" action="patrol" user="Root" timestamp="2015-05-22T13:51:11Z" comment="">
        <patrol cur="1008" prev="689" auto="1" />
      </item>
      <item logid="548" ns="0" title="Electronic cigarette" pageid="0" logpage="0" type="delete" action="delete" user="Root" timestamp="2015-05-15T19:48:13Z" comment="content was: &quot;                &#039;&#039;&#039;What is Electronic Cigarette??&#039;&#039;&#039;   What, then, can organizations and governments who care about getting the fact of the benefits of ...&quot; (and the only contributor was &quot;[[Special:Contributions/Amber24paige|Amber24paige]]&quot;)" />
      <item logid="547" ns="0" title="Upgrade Requests / Bugs" pageid="122" logpage="122" type="patrol" action="patrol" user="Root" timestamp="2014-05-04T03:11:44Z" comment="">
        <patrol cur="1007" prev="1006" auto="1" />
      </item>
      <item logid="546" ns="0" title="Upgrade Requests / Bugs" pageid="122" logpage="122" type="patrol" action="patrol" user="Root" timestamp="2014-04-20T13:31:07Z" comment="">
        <patrol cur="1006" prev="1003" auto="1" />
      </item>
      <item logid="545" ns="1" title="Talk:Products" pageid="196" logpage="196" type="patrol" action="patrol" user="Root" timestamp="2014-03-21T20:17:57Z" comment="">
        <patrol cur="1005" prev="930" auto="1" />
      </item>
      <item logid="544" ns="0" title="Installation" pageid="2" logpage="2" type="patrol" action="patrol" user="Root" timestamp="2013-11-08T16:35:13Z" comment="">
        <patrol cur="1004" prev="998" auto="1" />
      </item>
      <item logid="543" ns="0" title="Upgrade Requests / Bugs" pageid="122" logpage="122" type="patrol" action="patrol" user="Root" timestamp="2013-10-26T05:04:05Z" comment="">
        <patrol cur="1003" prev="1002" auto="1" />
      </item>
      <item logid="542" ns="0" title="Upgrade Requests / Bugs" pageid="122" logpage="122" type="patrol" action="patrol" user="Root" timestamp="2013-07-08T11:31:59Z" comment="">
        <patrol cur="1002" prev="1001" auto="1" />
      </item>
      <item logid="541" ns="0" title="Upgrade Requests / Bugs" pageid="122" logpage="122" type="patrol" action="patrol" user="Root" timestamp="2013-06-28T00:03:56Z" comment="">
        <patrol cur="1001" prev="1000" auto="1" />
      </item>
    </logevents>
  </query>
</api>