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="2017-10-11T14:18:43Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="3627" pageid="212" ns="0" title="Welcome" type="patrol" action="patrol" user="Abstracta" timestamp="2019-10-01T19:17:13Z" comment="">
        <patrol cur="5000" prev="4959" auto="1" />
      </item>
      <item logid="3626" pageid="318" ns="0" title="Main Page" type="patrol" action="patrol" user="Abstracta" timestamp="2019-10-01T19:15:32Z" comment="">
        <patrol cur="4999" prev="4998" auto="1" />
      </item>
      <item logid="3625" pageid="318" ns="0" title="Main Page" type="patrol" action="patrol" user="Abstracta" timestamp="2019-10-01T19:05:54Z" comment="">
        <patrol cur="4998" prev="4997" auto="1" />
      </item>
      <item logid="3624" pageid="318" ns="0" title="Main Page" type="patrol" action="patrol" user="Abstracta" timestamp="2018-07-05T16:54:16Z" comment="">
        <patrol cur="4997" prev="4958" auto="1" />
      </item>
      <item logid="3623" pageid="813" ns="0" title="カスタムコマンドの例を示します" type="patrol" action="patrol" user="Sduarte" timestamp="2018-03-01T16:05:13Z" comment="">
        <patrol cur="4996" prev="4995" auto="1" />
      </item>
      <item logid="3622" pageid="813" ns="0" title="カスタムコマンドの例を示します" type="patrol" action="patrol" user="Sduarte" timestamp="2018-03-01T16:04:59Z" comment="">
        <patrol cur="4995" prev="4994" auto="1" />
      </item>
      <item logid="3621" pageid="813" ns="0" title="カスタムコマンドの例を示します" type="patrol" action="patrol" user="Sduarte" timestamp="2018-03-01T16:04:47Z" comment="">
        <patrol cur="4994" prev="3674" auto="1" />
      </item>
      <item logid="3620" pageid="684" ns="0" title="SQLExecute Command" type="patrol" action="patrol" user="German" timestamp="2018-02-07T14:52:53Z" comment="">
        <patrol cur="4993" prev="4992" auto="1" />
      </item>
      <item logid="3619" pageid="684" ns="0" title="SQLExecute Command" type="patrol" action="patrol" user="German" timestamp="2018-02-07T14:51:39Z" comment="">
        <patrol cur="4992" prev="4566" auto="1" />
      </item>
      <item logid="3618" pageid="670" ns="0" title="Comando SQLExecute" type="patrol" action="patrol" user="German" timestamp="2018-02-07T14:43:26Z" comment="">
        <patrol cur="4991" prev="4565" auto="1" />
      </item>
    </logevents>
  </query>
</api>