You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <logevents>
      <item logid="1046" pageid="1" ns="0" title="Main Page" type="patrol" action="patrol" user="Systems" timestamp="2014-11-19T16:50:58Z" comment="">
        <patrol auto="1" prev="1088" cur="1089" />
      </item>
      <item logid="1045" pageid="1" ns="0" title="Main Page" type="patrol" action="patrol" user="Systems" timestamp="2014-11-18T19:14:13Z" comment="">
        <patrol auto="1" prev="1086" cur="1088" />
      </item>
      <item logid="1044" pageid="0" ns="0" title="Russian/Russian" type="delete" action="delete" user="Systems" timestamp="2014-11-18T17:58:00Z" comment="testing restore" />
      <item logid="1043" pageid="0" ns="0" title="Russian/Russian" type="patrol" action="patrol" user="Systems" timestamp="2014-11-18T17:53:42Z" comment="">
        <patrol auto="1" prev="0" cur="1087" />
      </item>
      <item logid="1042" pageid="1" ns="0" title="Main Page" type="patrol" action="patrol" user="Systems" timestamp="2014-11-18T17:53:34Z" comment="">
        <patrol auto="1" prev="1085" cur="1086" />
      </item>
      <item logid="1041" pageid="0" ns="2" title="User:Ccieri" type="rights" action="rights" user="Systems" timestamp="2014-11-18T17:17:42Z" comment="">
        <rights new="sysop, bureaucrat, Editors" old="" />
      </item>
      <item logid="1040" pageid="0" ns="2" title="User:Ccieri" type="newusers" action="create2" user="Systems" timestamp="2014-11-18T17:16:34Z" comment="">
        <param>15</param>
      </item>
      <item logid="1039" pageid="1" ns="0" title="Main Page" type="patrol" action="patrol" user="Systems" timestamp="2014-05-29T14:55:06Z" comment="">
        <patrol auto="1" prev="1084" cur="1085" />
      </item>
      <item logid="1038" pageid="1" ns="0" title="Main Page" type="patrol" action="patrol" user="Mamandel" timestamp="2013-10-31T20:59:49Z" comment="">
        <patrol auto="1" prev="1080" cur="1084" />
      </item>
      <item logid="1037" pageid="144" ns="1" title="Talk:Main Page/wb" type="patrol" action="patrol" user="Mamandel" timestamp="2013-10-31T20:48:43Z" comment="">
        <patrol auto="1" prev="1082" cur="1083" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2013-10-31T20:12:47Z" />
  </query-continue>
</api>