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>
    <logevents>
      <item logid="17998" pageid="46847" ns="0" title="Location" type="patrol" action="patrol" user="Toddo" timestamp="2020-11-13T23:27:14Z" comment="">
        <patrol cur="66103" prev="66102" auto="1" />
      </item>
      <item logid="17997" pageid="46847" ns="0" title="Location" type="patrol" action="patrol" user="Toddo" timestamp="2020-11-13T23:26:41Z" comment="">
        <patrol cur="66102" prev="66101" auto="1" />
      </item>
      <item logid="17996" pageid="46847" ns="0" title="Location" type="patrol" action="patrol" user="Toddo" timestamp="2020-11-13T23:24:49Z" comment="">
        <patrol cur="66101" prev="66100" auto="1" />
      </item>
      <item logid="17995" pageid="46847" ns="0" title="Location" type="patrol" action="patrol" user="Toddo" timestamp="2020-11-13T23:24:36Z" comment="">
        <patrol cur="66100" prev="66099" auto="1" />
      </item>
      <item logid="17994" pageid="46847" ns="0" title="Location" type="patrol" action="patrol" user="Toddo" timestamp="2020-11-13T23:18:42Z" comment="">
        <patrol cur="66099" prev="0" auto="1" />
      </item>
      <item logid="17993" pageid="46843" ns="0" title="Diseño, Arte y Artesanias" type="patrol" action="patrol" user="Toddo" timestamp="2020-11-13T22:50:10Z" comment="">
        <patrol cur="66098" prev="66096" auto="1" />
      </item>
      <item logid="17992" pageid="46846" ns="6" title="File:EARTHSHIP UNIVERSITY - ART DESIGN AND CRAFT - 30x80m - plan A0.png" type="upload" action="upload" user="Toddo" timestamp="2020-11-13T22:47:30Z" comment="" />
      <item logid="17991" pageid="46843" ns="0" title="Diseño, Arte y Artesanias" type="patrol" action="patrol" user="Xiao" timestamp="2020-11-13T22:37:50Z" comment="">
        <patrol cur="66096" prev="66095" auto="1" />
      </item>
      <item logid="17990" pageid="46843" ns="0" title="Diseño, Arte y Artesanias" type="patrol" action="patrol" user="Xiao" timestamp="2020-11-13T22:36:06Z" comment="">
        <patrol cur="66095" prev="66094" auto="1" />
      </item>
      <item logid="17989" pageid="46843" ns="0" title="Diseño, Arte y Artesanias" type="patrol" action="patrol" user="Xiao" timestamp="2020-11-13T22:33:36Z" comment="">
        <patrol cur="66094" prev="66093" auto="1" />
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2020-11-13T22:32:54Z" />
  </query-continue>
</api>