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="2013-09-18T17:57:55Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="218" pageid="280" ns="0" title="Deck Building" type="patrol" action="patrol" user="Altren" timestamp="2016-12-18T01:33:34Z" comment="">
        <patrol cur="1715" prev="1714" auto="1" />
      </item>
      <item logid="217" pageid="280" ns="0" title="Deck Building" type="patrol" action="patrol" user="Altren" timestamp="2016-12-18T01:32:04Z" comment="">
        <patrol cur="1714" prev="1145" auto="1" />
      </item>
      <item logid="216" pageid="0" ns="0" title="Bugs" type="delete" action="delete" user="Altren" timestamp="2013-11-24T22:32:57Z" comment="all those were fixed a while ago. and this in to good place to store bugs" />
      <item logid="215" pageid="274" ns="0" title="Battle Draft" type="patrol" action="patrol" user="Altren" timestamp="2013-10-29T08:38:15Z" comment="">
        <patrol cur="1713" prev="1640" auto="1" />
      </item>
      <item logid="214" pageid="0" ns="0" title="BattleDraft" type="delete" action="delete" user="Altren" timestamp="2013-10-28T18:40:02Z" comment="content was: &quot;In a Battle Draft all the cards are shared between both players. You each see the same hand of 14 cards. When one person plays a card it is gone for both players. The dec...&quot; (and the only contributor was &quot;[[Special:Contributions/Jed|Jed]]&quot;)" />
      <item logid="213" pageid="562" ns="0" title="Global Functions" type="patrol" action="patrol" user="Altren" timestamp="2013-10-27T03:21:55Z" comment="">
        <patrol cur="1712" prev="1644" auto="1" />
      </item>
      <item logid="212" pageid="675" ns="0" title="Rewards" type="patrol" action="patrol" user="Altren" timestamp="2013-09-22T15:39:37Z" comment="">
        <patrol cur="1702" prev="1701" auto="1" />
      </item>
      <item logid="211" pageid="675" ns="0" title="Rewards" type="patrol" action="patrol" user="Altren" timestamp="2013-09-22T15:38:56Z" comment="">
        <patrol cur="1701" prev="1696" auto="1" />
      </item>
      <item logid="210" pageid="574" ns="0" title="FAQ" type="patrol" action="patrol" user="Altren" timestamp="2013-09-20T17:26:58Z" comment="">
        <patrol cur="1700" prev="1699" auto="1" />
      </item>
      <item logid="209" pageid="574" ns="0" title="FAQ" type="patrol" action="patrol" user="Altren" timestamp="2013-09-18T17:58:28Z" comment="">
        <patrol cur="1699" prev="1698" auto="1" />
      </item>
    </logevents>
  </query>
</api>