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>
    <logevents>
      <item logid="77" pageid="0" ns="2" title="User:Jricher" type="newusers" action="create2" user="Jscott" timestamp="2017-09-18T21:12:02Z" comment="">
        <param>27</param>
      </item>
      <item logid="76" pageid="25" ns="3" title="User talk:Jscott" type="patrol" action="patrol" user="Jscott" timestamp="2016-05-11T23:32:42Z" comment="">
        <patrol cur="117" prev="78" auto="1" />
      </item>
      <item logid="75" pageid="14" ns="0" title="Paper Media" type="patrol" action="patrol" user="Jscott" timestamp="2016-04-29T15:24:29Z" comment="">
        <patrol cur="116" prev="89" auto="1" />
      </item>
      <item logid="74" pageid="34" ns="0" title="Making Software Emulate on IA" type="patrol" action="patrol" user="Jscott" timestamp="2016-02-12T08:02:00Z" comment="">
        <patrol cur="115" prev="114" auto="1" />
      </item>
      <item logid="73" pageid="34" ns="0" title="Making Software Emulate on IA" type="patrol" action="patrol" user="Jscott" timestamp="2016-02-12T08:01:10Z" comment="">
        <patrol cur="114" prev="113" auto="1" />
      </item>
      <item logid="72" pageid="34" ns="0" title="Making Software Emulate on IA" type="patrol" action="patrol" user="Jscott" timestamp="2016-02-12T06:50:32Z" comment="">
        <patrol cur="113" prev="112" auto="1" />
      </item>
      <item logid="71" pageid="34" ns="0" title="Making Software Emulate on IA" type="patrol" action="patrol" user="Jscott" timestamp="2016-02-12T02:03:52Z" comment="">
        <patrol cur="112" prev="111" auto="1" />
      </item>
      <item logid="70" pageid="34" ns="0" title="Making Software Emulate on IA" type="patrol" action="patrol" user="Jscott" timestamp="2016-02-12T01:55:57Z" comment="">
        <patrol cur="111" prev="0" auto="1" />
      </item>
      <item logid="69" pageid="33" ns="0" title="Using the IA Client" type="patrol" action="patrol" user="Jscott" timestamp="2016-01-30T03:27:47Z" comment="">
        <patrol cur="110" prev="109" auto="1" />
      </item>
      <item logid="68" pageid="33" ns="0" title="Using the IA Client" type="patrol" action="patrol" user="Jscott" timestamp="2016-01-30T03:25:09Z" comment="">
        <patrol cur="109" prev="108" auto="1" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2016-01-30T03:17:40Z" />
  </query-continue>
</api>