You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <logevents>
      <item logid="109470" action="patrol" ns="0" title="Battery Questions and Answers" pageid="8640" type="patrol" user="JOERG" timestamp="2018-06-09T10:31:45Z" comment="">
        <patrol cur="108838" prev="108837" auto="1" />
      </item>
      <item logid="109469" action="patrol" ns="0" title="Battery Questions and Answers" pageid="8640" type="patrol" user="JOERG" timestamp="2018-06-09T10:28:50Z" comment="">
        <patrol cur="108837" prev="108728" auto="1" />
      </item>
      <item logid="109468" action="patrol" ns="0" title="USB Product IDs" pageid="1764" type="patrol" user="HaraldWelte" timestamp="2018-06-09T08:17:55Z" comment="">
        <patrol cur="108836" prev="108834" auto="1" />
      </item>
      <item logid="109467" action="patrol" ns="0" title="OUI" pageid="4207" type="patrol" user="HaraldWelte" timestamp="2018-06-09T08:14:49Z" comment="">
        <patrol cur="108835" prev="108780" auto="1" />
      </item>
      <item logid="109466" action="restore" ns="0" title="Om 2008 Feature Plan" pageid="24402" type="delete" user="HaraldWelte" timestamp="2018-06-06T20:11:54Z" comment="83 revisions restored: archive" />
      <item logid="109465" action="patrol" ns="0" title="USB Product IDs" pageid="1764" type="patrol" user="JOERG" timestamp="2018-05-12T21:22:31Z" comment="">
        <patrol cur="108834" prev="108833" auto="1" />
      </item>
      <item logid="109464" action="patrol" ns="0" title="USB Product IDs" pageid="1764" type="patrol" user="JOERG" timestamp="2018-05-12T19:15:29Z" comment="">
        <patrol cur="108833" prev="108832" auto="1" />
      </item>
      <item logid="109463" action="patrol" ns="0" title="USB Product IDs" pageid="1764" type="patrol" user="JOERG" timestamp="2018-05-12T19:10:40Z" comment="">
        <patrol cur="108832" prev="108831" auto="1" />
      </item>
      <item logid="109462" action="patrol" ns="0" title="USB Product IDs" pageid="1764" type="patrol" user="JOERG" timestamp="2018-05-12T15:24:16Z" comment="">
        <patrol cur="108831" prev="108829" auto="1" />
      </item>
      <item logid="109461" action="patrol" ns="0" title="GSM oscillating between registered and not registered aka 1024" pageid="8975" type="patrol" user="JOERG" timestamp="2018-02-18T05:38:39Z" comment="">
        <patrol cur="108830" prev="84904" auto="1" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2017-04-17T21:02:27Z" />
  </query-continue>
</api>