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="17" pageid="23" ns="0" title="Car Rental Codes" type="patrol" action="patrol" user="Dan" timestamp="2015-01-11T05:17:02Z" comment="">
        <patrol auto="1" prev="203" cur="204" />
      </item>
      <item logid="16" pageid="18" ns="0" title="Acronyms" type="patrol" action="patrol" user="Bahayman" timestamp="2012-06-17T03:50:19Z" comment="">
        <patrol auto="1" prev="164" cur="165" />
      </item>
      <item logid="15" pageid="20" ns="0" title="Forum Freature Requests" type="patrol" action="patrol" user="Bahayman" timestamp="2011-11-03T05:01:51Z" comment="">
        <patrol auto="1" prev="80" cur="81" />
      </item>
      <item logid="14" pageid="18" ns="0" title="Acronyms" type="patrol" action="patrol" user="Bahayman" timestamp="2011-10-11T23:15:01Z" comment="">
        <patrol auto="1" prev="67" cur="68" />
      </item>
      <item logid="13" pageid="13" ns="1" title="Talk:AsherO" type="move" action="move" user="Bahayman" timestamp="2011-07-10T04:40:43Z" comment="Move to AsherO user page.">
        <move new_ns="3" new_title="User talk:AsherO" />
      </item>
      <item logid="12" pageid="12" ns="0" title="AsherO" type="move" action="move" user="Bahayman" timestamp="2011-07-10T04:40:43Z" comment="Move to AsherO user page.">
        <move new_ns="2" new_title="User:AsherO" />
      </item>
      <item logid="11" pageid="12" ns="0" title="AsherO" type="patrol" action="patrol" user="Dan" timestamp="2011-07-08T13:41:11Z" comment="">
        <patrol auto="1" prev="19" cur="23" />
      </item>
      <item logid="10" pageid="7" ns="0" title="Credit Card Reconsideration" type="patrol" action="patrol" user="Dan" timestamp="2011-07-07T23:47:38Z" comment="">
        <patrol auto="1" prev="0" cur="13" />
      </item>
      <item logid="9" pageid="6" ns="0" title="AA Awards" type="patrol" action="patrol" user="Dan" timestamp="2011-07-07T23:46:47Z" comment="">
        <patrol auto="1" prev="0" cur="12" />
      </item>
      <item logid="8" pageid="0" ns="0" title="Test Page" type="delete" action="delete" user="Bahayman" timestamp="2011-07-07T21:34:22Z" comment="content was: &quot;Test creation of a page.&quot; (and the only contributor was &quot;[[Special:Contributions/Bahayman|Bahayman]]&quot;)" />
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2011-07-07T21:33:40Z" />
  </query-continue>
</api>