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="1403" action="patrol" ns="0" title="Hauptseite" pageid="1" type="patrol" user="Admin" timestamp="2017-08-07T10:36:24Z" comment="">
        <patrol cur="9288" prev="8544" auto="1" />
      </item>
      <item logid="1402" action="delete" ns="0" title="Go-Unterricht bei Ryo Kato" pageid="0" type="delete" user="Admin" timestamp="2017-08-07T10:36:02Z" comment="Unterricht wird nicht mehr angeboten." />
      <item logid="1401" action="delete" ns="1" title="Diskussion:Fotos" pageid="0" type="delete" user="Admin" timestamp="2009-06-22T18:50:00Z" comment="Spam" />
      <item logid="1400" action="delete" ns="9" title="MediaWiki Diskussion:Addgroup" pageid="0" type="delete" user="Admin" timestamp="2009-06-22T18:49:05Z" comment="Spam" />
      <item logid="35" action="delete" ns="4" title="GoVB:Geschützte Seiten" pageid="1537" type="delete" user="Admin" timestamp="2009-01-19T11:33:04Z" comment="Spam" />
      <item logid="34" action="protect" ns="9" title="MediaWiki Diskussion:Newpage" pageid="1534" type="protect" user="Admin" timestamp="2009-01-14T08:14:25Z" comment="Spam [edit=sysop:move=sysop]" />
      <item logid="33" action="delete" ns="9" title="MediaWiki Diskussion:Newpage" pageid="1534" type="delete" user="Admin" timestamp="2009-01-14T08:11:52Z" comment="Spam" />
      <item logid="32" action="delete" ns="9" title="MediaWiki Diskussion:Newpage" pageid="1534" type="delete" user="Admin" timestamp="2009-01-11T16:44:50Z" comment="Spam" />
      <item logid="31" action="delete" ns="9" title="MediaWiki Diskussion:Newpage" pageid="1534" type="delete" user="Admin" timestamp="2008-12-30T01:54:03Z" comment="Spam" />
      <item logid="30" action="delete" ns="9" title="MediaWiki Diskussion:Newpage" pageid="1534" type="delete" user="Admin" timestamp="2008-12-26T15:29:45Z" comment="Spam" />
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2008-12-21T16:38:21Z" />
  </query-continue>
</api>