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>
    <logevents>
      <item logid="787" pageid="1" ns="0" title="Main Page" type="patrol" action="patrol" user="Admin" timestamp="2013-02-27T19:54:42Z" comment="">
        <patrol cur="12995" prev="1417" auto="1" />
      </item>
      <item logid="786" pageid="190" ns="0" title="Grammar" type="patrol" action="patrol" user="Admin" timestamp="2013-02-27T19:39:52Z" comment="">
        <patrol cur="12978" prev="440" auto="1" />
      </item>
      <item logid="785" pageid="3022" ns="6" title="File:NLPDgrammar.pdf" type="upload" action="upload" user="Admin" timestamp="2013-02-27T19:39:09Z" comment="" />
      <item logid="774" pageid="0" ns="0" title="PRH" type="delete" action="delete" user="Admin" timestamp="2013-01-28T00:28:25Z" comment="content was: &quot;esta é uma experiencia  *titulo*  **subtitulo**  [[Category:Compiler Generators]]&quot; (and the only contributor was &quot;[[Special:Contributions/Admin|Admin]]&quot;)" />
      <item logid="773" pageid="0" ns="0" title="PRH" type="patrol" action="patrol" user="Admin" timestamp="2013-01-28T00:15:48Z" comment="">
        <patrol cur="2579" prev="0" auto="1" />
      </item>
      <item logid="772" pageid="918" ns="14" title="Category:Tools &amp; Utilities" type="protect" action="protect" user="Admin" timestamp="2013-01-09T10:53:07Z" comment="">
        <param>‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)</param>
        <param />
      </item>
      <item logid="770" pageid="0" ns="2" title="User:Prh" type="block" action="unblock" user="Admin" timestamp="2013-01-05T21:58:42Z" comment="" />
      <item logid="769" pageid="917" ns="14" title="Category:Virtual Machines" type="patrol" action="patrol" user="Admin" timestamp="2013-01-05T18:02:19Z" comment="">
        <patrol cur="1439" prev="1435" auto="1" />
      </item>
      <item logid="768" pageid="914" ns="14" title="Category:Basic Concepts" type="patrol" action="patrol" user="Admin" timestamp="2013-01-05T17:02:45Z" comment="">
        <patrol cur="1438" prev="1189" auto="1" />
      </item>
      <item logid="767" pageid="918" ns="14" title="Category:Tools &amp; Utilities" type="patrol" action="patrol" user="Admin" timestamp="2013-01-05T16:53:52Z" comment="">
        <patrol cur="1437" prev="1436" auto="1" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2013-01-05T16:49:15Z" />
  </query-continue>
</api>