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="20161224062624|78417" />
  </query-continue>
  <query>
    <logevents>
      <item logid="78427" ns="0" title="東海道四谷怪談" pageid="391" logpage="391" type="patrol" action="patrol" user="WikiSysop" timestamp="2018-05-16T23:14:36Z" comment="">
        <patrol cur="14243115" prev="14217199" auto="1" />
      </item>
      <item logid="78426" ns="2" title="利用者:Ryo" pageid="0" logpage="0" type="rights" action="rights" user="WikiSysop" timestamp="2017-08-11T02:00:11Z" comment="">
        <rights new="sysop" old="" />
      </item>
      <item logid="78425" ns="0" title="『六十余州名所図会 駿河三保のまつ原』" pageid="98877" logpage="1178" type="delete" action="delete" user="WikiSysop" timestamp="2017-02-02T14:49:55Z" comment="白紙化前の内容:「」" />
      <item logid="78424" ns="0" title="万歳武勇絵鑑" pageid="1570" logpage="1570" type="patrol" action="patrol" user="WikiSysop" timestamp="2017-02-02T08:28:56Z" comment="">
        <patrol cur="1389039" prev="1363213" auto="1" />
      </item>
      <item logid="78423" ns="0" title="メインページ" pageid="1" logpage="1" type="patrol" action="patrol" user="WikiSysop" timestamp="2016-12-28T08:33:23Z" comment="">
        <patrol cur="404295" prev="294898" auto="1" />
      </item>
      <item logid="78422" ns="0" title="メインページ" pageid="1" logpage="1" type="patrol" action="patrol" user="WikiSysop" timestamp="2016-12-24T07:37:53Z" comment="">
        <patrol cur="294898" prev="294897" auto="1" />
      </item>
      <item logid="78421" ns="0" title="メインページ" pageid="1" logpage="1" type="patrol" action="patrol" user="WikiSysop" timestamp="2016-12-24T07:36:27Z" comment="">
        <patrol cur="294897" prev="294896" auto="1" />
      </item>
      <item logid="78420" ns="0" title="メインページ" pageid="1" logpage="1" type="patrol" action="patrol" user="WikiSysop" timestamp="2016-12-24T07:31:34Z" comment="">
        <patrol cur="294896" prev="294895" auto="1" />
      </item>
      <item logid="78419" ns="0" title="メインページ" pageid="1" logpage="1" type="patrol" action="patrol" user="WikiSysop" timestamp="2016-12-24T07:28:20Z" comment="">
        <patrol cur="294895" prev="294894" auto="1" />
      </item>
      <item logid="78418" ns="0" title="メインページ" pageid="1" logpage="1" type="patrol" action="patrol" user="WikiSysop" timestamp="2016-12-24T07:28:01Z" comment="">
        <patrol cur="294894" prev="294893" auto="1" />
      </item>
    </logevents>
  </query>
</api>