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 lestart="2015-10-21T16:07:55Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="660" ns="6" title="File:PIHM-WaterRunoffWorkflow.png" pageid="642" type="upload" action="upload" img_sha1="pypoqu4bzkala0th54evd9rtlmurnjm" img_timestamp="2017-02-02T20:05:52Z" user="Gil" timestamp="2017-02-02T20:05:52Z" comment="" />
      <item logid="659" ns="0" title="Meet face-to-face to plan 2017 project goals" pageid="640" type="patrol" action="patrol" user="Admin" timestamp="2017-02-02T07:19:54Z" comment="">
        <patrol cur="4688" prev="4687" auto="1" />
      </item>
      <item logid="658" ns="0" title="Meet face-to-face to plan 2017 project goals" pageid="640" type="patrol" action="patrol" user="Admin" timestamp="2017-02-02T07:19:05Z" comment="">
        <patrol cur="4687" prev="4686" auto="1" />
      </item>
      <item logid="657" ns="0" title="Meet face-to-face to plan 2017 project goals" pageid="640" type="patrol" action="patrol" user="Admin" timestamp="2017-02-02T07:18:34Z" comment="">
        <patrol cur="4686" prev="4684" auto="1" />
      </item>
      <item logid="656" ns="6" title="File:Index.png" pageid="641" type="upload" action="upload" img_sha1="47jjn5lxs5rquow85l1s7msofohnfg9" img_timestamp="2017-02-02T07:17:28Z" user="Admin" timestamp="2017-02-02T07:17:28Z" comment="" />
      <item logid="655" ns="0" title="Write paper about Integrate in ODSF descriptions of individual research products" pageid="0" type="move" action="move" user="Gil" timestamp="2017-02-02T02:18:04Z" comment="Moving page">
        <move new_ns="0" new_title="Write paper about integrating in ODSF descriptions of individual research products" suppressedredirect="" />
      </item>
      <item logid="654" ns="0" title="Test task" pageid="0" type="delete" action="delete" user="Admin" timestamp="2015-10-22T19:39:51Z" comment="Deletion of task Main_Page" />
      <item logid="653" ns="0" title="Test task" pageid="0" type="patrol" action="patrol" user="Admin" timestamp="2015-10-22T19:39:36Z" comment="">
        <patrol cur="4596" prev="0" auto="1" />
      </item>
      <item logid="652" ns="0" title="Learn how to add normal wiki text" pageid="0" type="delete" action="delete" user="Gil" timestamp="2015-10-21T17:18:03Z" comment="Deletion of task Learn_how_to_add_normal_wiki_text" />
      <item logid="651" ns="0" title="ENIGMA tasks" pageid="0" type="delete" action="delete" user="Gil" timestamp="2015-10-21T16:07:55Z" comment="Deletion of task ENIGMA_tasks" />
    </logevents>
  </query>
</api>