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="20140214200521|4417" />
  </query-continue>
  <query>
    <logevents>
      <item logid="4427" ns="0" title="Public datasets" pageid="261" logpage="261" type="patrol" action="patrol" user="Yy" timestamp="2014-03-10T14:21:06Z" comment="">
        <patrol cur="4985" prev="4930" auto="1" />
      </item>
      <item logid="4426" ns="0" title="Matplotlib" pageid="1225" logpage="1225" type="patrol" action="patrol" user="Yy" timestamp="2014-02-20T16:57:59Z" comment="">
        <patrol cur="4984" prev="4867" auto="1" />
      </item>
      <item logid="4425" ns="0" title="Community structure" pageid="322" logpage="322" type="patrol" action="patrol" user="Yy" timestamp="2014-02-17T01:58:00Z" comment="">
        <patrol cur="4983" prev="4841" auto="1" />
      </item>
      <item logid="4424" ns="0" title="Gene Ontology" pageid="372" logpage="372" type="patrol" action="patrol" user="Yy" timestamp="2014-02-15T22:16:51Z" comment="">
        <patrol cur="4982" prev="1364" auto="1" />
      </item>
      <item logid="4423" ns="0" title="Gene ontology" pageid="1448" logpage="1448" type="patrol" action="patrol" user="Yy" timestamp="2014-02-15T22:16:29Z" comment="">
        <patrol cur="4981" prev="0" auto="1" />
      </item>
      <item logid="4422" ns="0" title="Ontology" pageid="1447" logpage="1447" type="patrol" action="patrol" user="Yy" timestamp="2014-02-15T22:16:15Z" comment="">
        <patrol cur="4980" prev="0" auto="1" />
      </item>
      <item logid="4421" ns="0" title="Law enforcement in the United States" pageid="1446" logpage="1446" type="patrol" action="patrol" user="Yy" timestamp="2014-02-15T20:59:25Z" comment="">
        <patrol cur="4979" prev="0" auto="1" />
      </item>
      <item logid="4420" ns="0" title="Police" pageid="1445" logpage="1445" type="patrol" action="patrol" user="Yy" timestamp="2014-02-15T20:57:54Z" comment="">
        <patrol cur="4978" prev="0" auto="1" />
      </item>
      <item logid="4419" ns="0" title="Criminal law" pageid="1444" logpage="1444" type="patrol" action="patrol" user="Yy" timestamp="2014-02-15T20:57:11Z" comment="">
        <patrol cur="4977" prev="0" auto="1" />
      </item>
      <item logid="4418" ns="0" title="Law" pageid="1443" logpage="1443" type="patrol" action="patrol" user="Yy" timestamp="2014-02-15T20:56:40Z" comment="">
        <patrol cur="4976" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
</api>