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="20150203131802|371" />
  </query-continue>
  <query>
    <logevents>
      <item logid="381" ns="0" title="Map Editor Overview" pageid="7" type="patrol" action="patrol" user="Seminus" timestamp="2015-08-06T12:55:55Z" comment="">
        <patrol cur="382" prev="303" auto="1" />
      </item>
      <item logid="380" ns="0" title="Steam Workshop - publishing your mod" pageid="119" type="patrol" action="patrol" user="Seminus" timestamp="2015-08-06T12:55:03Z" comment="">
        <patrol cur="381" prev="380" auto="1" />
      </item>
      <item logid="379" ns="0" title="Steam Workshop - publishing your mod" pageid="119" type="patrol" action="patrol" user="Seminus" timestamp="2015-08-06T12:53:48Z" comment="">
        <patrol cur="380" prev="347" auto="1" />
      </item>
      <item logid="378" ns="0" title="Enemy Edit Mode" pageid="67" type="patrol" action="patrol" user="Seminus" timestamp="2015-07-06T12:42:43Z" comment="">
        <patrol cur="379" prev="295" auto="1" />
      </item>
      <item logid="377" ns="0" title="Setting up a new mod" pageid="111" type="patrol" action="patrol" user="Seminus" timestamp="2015-06-09T05:50:55Z" comment="">
        <patrol cur="378" prev="377" auto="1" />
      </item>
      <item logid="376" ns="0" title="Setting up a new mod" pageid="111" type="patrol" action="patrol" user="Seminus" timestamp="2015-03-16T07:15:55Z" comment="">
        <patrol cur="377" prev="376" auto="1" />
      </item>
      <item logid="375" ns="0" title="Setting up a new mod" pageid="111" type="patrol" action="patrol" user="Seminus" timestamp="2015-03-16T07:15:31Z" comment="">
        <patrol cur="376" prev="375" auto="1" />
      </item>
      <item logid="374" ns="0" title="Setting up a new mod" pageid="111" type="patrol" action="patrol" user="Seminus" timestamp="2015-03-16T07:12:58Z" comment="">
        <patrol cur="375" prev="374" auto="1" />
      </item>
      <item logid="373" ns="0" title="Setting up a new mod" pageid="111" type="patrol" action="patrol" user="Seminus" timestamp="2015-02-03T13:25:02Z" comment="">
        <patrol cur="374" prev="373" auto="1" />
      </item>
      <item logid="372" ns="0" title="Setting up a new mod" pageid="111" type="patrol" action="patrol" user="Seminus" timestamp="2015-02-03T13:24:32Z" comment="">
        <patrol cur="373" prev="366" auto="1" />
      </item>
    </logevents>
  </query>
</api>