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 lecontinue="20140916211333|20" />
  </query-continue>
  <query>
    <logevents>
      <item logid="30" ns="0" title="Plotting schools Port Elizabeth using shell scripting" pageid="10" type="patrol" action="patrol" user="Christiaan008" timestamp="2016-09-27T09:21:16Z" comment="">
        <patrol cur="32" prev="0" auto="1" />
      </item>
      <item logid="29" ns="0" title="Scripting" pageid="6" type="patrol" action="patrol" user="Christiaan008" timestamp="2016-09-27T09:19:50Z" comment="">
        <patrol cur="31" prev="29" auto="1" />
      </item>
      <item logid="28" ns="0" title="Retrieving Flickr photo views using shell scripting" pageid="9" type="patrol" action="patrol" user="Christiaan008" timestamp="2016-07-12T19:49:21Z" comment="">
        <patrol cur="30" prev="0" auto="1" />
      </item>
      <item logid="27" ns="0" title="Scripting" pageid="6" type="patrol" action="patrol" user="Christiaan008" timestamp="2016-07-12T19:47:05Z" comment="">
        <patrol cur="29" prev="28" auto="1" />
      </item>
      <item logid="26" ns="0" title="Scripting" pageid="6" type="patrol" action="patrol" user="Christiaan008" timestamp="2015-11-08T22:52:33Z" comment="">
        <patrol cur="28" prev="24" auto="1" />
      </item>
      <item logid="25" ns="0" title="Dynamic splitting output into files while processing" pageid="8" type="move" action="move" user="Christiaan008" timestamp="2015-11-08T22:52:06Z" comment="">
        <move new_ns="0" new_title="Dynamically splitting output into files while processing" />
      </item>
      <item logid="24" ns="0" title="Dynamic splitting output into files while processing" pageid="8" type="patrol" action="patrol" user="Christiaan008" timestamp="2015-11-08T21:35:08Z" comment="">
        <patrol cur="25" prev="0" auto="1" />
      </item>
      <item logid="23" ns="0" title="Scripting" pageid="6" type="patrol" action="patrol" user="Christiaan008" timestamp="2015-11-08T21:27:41Z" comment="">
        <patrol cur="24" prev="23" auto="1" />
      </item>
      <item logid="22" ns="0" title="Scripting" pageid="6" type="patrol" action="patrol" user="Christiaan008" timestamp="2015-11-06T17:38:14Z" comment="">
        <patrol cur="23" prev="0" auto="1" />
      </item>
      <item logid="21" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="Christiaan008" timestamp="2015-11-06T17:37:08Z" comment="">
        <patrol cur="22" prev="16" auto="1" />
      </item>
    </logevents>
  </query>
</api>