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="2016-01-05T18:12:59Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="1732" pageid="0" ns="102" title="LibPAS:New Report Type" type="delete" action="delete" user="Ian" timestamp="2016-01-25T18:51:11Z" comment="content was: &quot; &lt;section begin=note/&gt;For LibPAS subscribers supporting quarterly and/or monthly data sets, a new Report type, Subperiod Trend, is available enabling academic libraries to compare between two or more years the subperiod data that compris...&quot;" />
      <item logid="1731" pageid="1184" ns="6" title="File:SubPeriodTrendGraph.png" type="upload" action="upload" user="Lindsay" timestamp="2016-01-07T09:39:59Z" comment="" />
      <item logid="1730" pageid="1183" ns="6" title="File:SubPeriodTrend.png" type="upload" action="upload" user="Lindsay" timestamp="2016-01-07T09:39:06Z" comment="" />
      <item logid="1729" pageid="1182" ns="6" title="File:SubPeriodReport.png" type="upload" action="upload" user="Lindsay" timestamp="2016-01-07T09:33:44Z" comment="" />
      <item logid="1728" pageid="1179" ns="6" title="File:AccountImport1.jpg" type="upload" action="overwrite" user="Lindsay" timestamp="2016-01-07T09:28:33Z" comment="Reverted to version as of 09:27, 7 January 2016" />
      <item logid="1727" pageid="1179" ns="6" title="File:AccountImport1.jpg" type="upload" action="overwrite" user="Lindsay" timestamp="2016-01-07T09:28:11Z" comment="Reverted to version as of 09:26, 7 January 2016" />
      <item logid="1726" pageid="1179" ns="6" title="File:AccountImport1.jpg" type="upload" action="overwrite" user="Lindsay" timestamp="2016-01-07T09:27:46Z" comment="" />
      <item logid="1725" pageid="1179" ns="6" title="File:AccountImport1.jpg" type="upload" action="overwrite" user="Lindsay" timestamp="2016-01-07T09:26:34Z" comment="" />
      <item logid="1724" pageid="1179" ns="6" title="File:AccountImport1.jpg" type="upload" action="upload" user="Lindsay" timestamp="2016-01-05T18:26:08Z" comment="" />
      <item logid="1723" pageid="1176" ns="6" title="File:FileUpload.jpg" type="upload" action="upload" user="Lindsay" timestamp="2016-01-05T18:13:40Z" comment="" />
    </logevents>
  </query>
</api>