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="397" pageid="121" ns="0" title="Drugs in Withmore" type="patrol" action="patrol" user="Slither" timestamp="2018-01-15T22:08:31Z" comment="">
        <patrol cur="706" prev="705" auto="1" />
      </item>
      <item logid="396" pageid="121" ns="0" title="Drugs in Withmore" type="patrol" action="patrol" user="Slither" timestamp="2018-01-15T22:08:11Z" comment="">
        <patrol cur="705" prev="704" auto="1" />
      </item>
      <item logid="395" pageid="121" ns="0" title="Drugs in Withmore" type="patrol" action="patrol" user="Slither" timestamp="2018-01-15T22:07:25Z" comment="">
        <patrol cur="704" prev="703" auto="1" />
      </item>
      <item logid="394" pageid="121" ns="0" title="Drugs in Withmore" type="patrol" action="patrol" user="Slither" timestamp="2018-01-15T22:06:34Z" comment="">
        <patrol cur="703" prev="702" auto="1" />
      </item>
      <item logid="393" pageid="121" ns="0" title="Drugs in Withmore" type="patrol" action="patrol" user="Slither" timestamp="2018-01-15T22:05:20Z" comment="">
        <patrol cur="702" prev="701" auto="1" />
      </item>
      <item logid="392" pageid="121" ns="0" title="Drugs in Withmore" type="patrol" action="patrol" user="Slither" timestamp="2018-01-15T22:03:57Z" comment="">
        <patrol cur="701" prev="700" auto="1" />
      </item>
      <item logid="391" pageid="121" ns="0" title="Drugs in Withmore" type="patrol" action="patrol" user="Slither" timestamp="2018-01-15T21:56:34Z" comment="">
        <patrol cur="700" prev="653" auto="1" />
      </item>
      <item logid="390" pageid="315" ns="0" title="UMC" type="patrol" action="patrol" user="Jinx" timestamp="2016-05-01T01:59:01Z" comment="">
        <patrol cur="699" prev="695" auto="1" />
      </item>
      <item logid="389" pageid="316" ns="0" title="Thought Receiver Chip" type="patrol" action="patrol" user="Johnny" timestamp="2016-04-02T07:57:49Z" comment="">
        <patrol cur="698" prev="697" auto="1" />
      </item>
      <item logid="388" pageid="316" ns="0" title="Thought Receiver Chip" type="patrol" action="patrol" user="Johnny" timestamp="2016-04-02T07:56:28Z" comment="">
        <patrol cur="697" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2016-04-02T04:41:34Z" />
  </query-continue>
</api>