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="1613" pageid="1" ns="0" title="Main Page" type="patrol" action="patrol" user="Attie" timestamp="2019-10-09T10:42:03Z" comment="">
        <patrol cur="3320" prev="3207" auto="1" />
      </item>
      <item logid="1612" pageid="0" ns="0" title="Shopping List" type="delete" action="delete" user="Attie" timestamp="2019-10-09T10:41:57Z" comment="content was: &quot;{|class=&quot;wikitable&quot; ! Qty !! Part Number !! Link |- | 4x || 2N7002,215 || [http://uk.farnell.com/nxp/2n7002-215/mosfet-n-ch-60v-300ma-sot-23-3/dp/2315576 Farnell] |}&quot; (and the only contributor was &quot;[[Special:Contributions/Attie|Attie]]&quot;)" />
      <item logid="1611" pageid="166" ns="0" title="Rescan scsi" type="patrol" action="patrol" user="Attie" timestamp="2017-07-13T09:06:10Z" comment="">
        <patrol cur="3319" prev="3318" auto="1" />
      </item>
      <item logid="1610" pageid="166" ns="0" title="Rescan scsi" type="patrol" action="patrol" user="Attie" timestamp="2017-07-13T09:05:55Z" comment="">
        <patrol cur="3318" prev="2997" auto="1" />
      </item>
      <item logid="1609" pageid="299" ns="0" title="Obnam" type="patrol" action="patrol" user="Attie" timestamp="2017-07-10T10:37:09Z" comment="">
        <patrol cur="3317" prev="3316" auto="1" />
      </item>
      <item logid="1608" pageid="299" ns="0" title="Obnam" type="patrol" action="patrol" user="Attie" timestamp="2017-07-10T10:32:19Z" comment="">
        <patrol cur="3316" prev="3315" auto="1" />
      </item>
      <item logid="1607" pageid="299" ns="0" title="Obnam" type="patrol" action="patrol" user="Attie" timestamp="2017-07-10T10:28:20Z" comment="">
        <patrol cur="3315" prev="3203" auto="1" />
      </item>
      <item logid="1606" pageid="262" ns="0" title="AutoHotkey" type="patrol" action="patrol" user="Attie" timestamp="2017-06-09T20:21:16Z" comment="">
        <patrol cur="3314" prev="3313" auto="1" />
      </item>
      <item logid="1605" pageid="262" ns="0" title="AutoHotkey" type="patrol" action="patrol" user="Attie" timestamp="2017-06-09T20:21:10Z" comment="">
        <patrol cur="3313" prev="3282" auto="1" />
      </item>
      <item logid="1604" pageid="323" ns="6" title="File:W10 multitasking.png" type="upload" action="overwrite" user="Attie" timestamp="2017-06-09T19:55:23Z" comment="" />
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2017-06-09T19:54:58Z" />
  </query-continue>
</api>