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="20200109135827|6830" />
  </query-continue>
  <query>
    <logevents>
      <item logid="6840" ns="0" title="OS-9 Record Management System" pageid="5707" type="patrol" action="patrol" user="Robcfg" timestamp="2020-01-09T15:52:28Z" comment="">
        <patrol cur="9409" prev="0" auto="1" />
      </item>
      <item logid="6839" ns="6" title="File:RMS Screenshot02.png" pageid="5706" img_sha1="7er63wblde5osfoy74krvat7f6ow5fa" img_timestamp="2020-01-09T15:51:06Z" type="upload" action="upload" user="Robcfg" timestamp="2020-01-09T15:51:06Z" comment="" />
      <item logid="6838" ns="6" title="File:RMS Screenshot01.png" pageid="5705" img_sha1="rzmgjd0kh3r03vl5vfkrk190m9nypnt" img_timestamp="2020-01-09T15:50:47Z" type="upload" action="upload" user="Robcfg" timestamp="2020-01-09T15:50:47Z" comment="" />
      <item logid="6837" ns="6" title="File:RMS Screenshot01.png" pageid="5705" type="delete" action="delete" user="Robcfg" timestamp="2020-01-09T15:50:24Z" comment="Wrong size" />
      <item logid="6836" ns="6" title="File:RMS Screenshot01.png" pageid="5705" img_sha1="pkogrsd14vsd6r1e4rixutfbp9c2iqa" img_timestamp="2020-01-09T15:49:45Z" type="upload" action="upload" user="Robcfg" timestamp="2020-01-09T15:49:45Z" comment="" />
      <item logid="6835" ns="6" title="File:RMS-CMDS-Quick-Ref-OS9.pdf" pageid="5703" img_sha1="jvj1acegaclpoidyrnxe7nfdea0hieh" img_timestamp="2020-01-09T14:20:40Z" type="upload" action="upload" user="Robcfg" timestamp="2020-01-09T14:20:40Z" comment="" />
      <item logid="6834" ns="6" title="File:RMS-OS9-Manual.pdf" pageid="5702" img_sha1="4xvv7ifkvzlne36hfu5t9t8z5ppg2u0" img_timestamp="2020-01-09T14:19:17Z" type="upload" action="upload" user="Robcfg" timestamp="2020-01-09T14:19:17Z" comment="" />
      <item logid="6833" ns="6" title="File:RMS-large-label-cleaned.jpg" pageid="5701" img_sha1="o5hqfqc303pt3gv08tvte77yfglfkds" img_timestamp="2020-01-09T14:12:51Z" type="upload" action="upload" user="Robcfg" timestamp="2020-01-09T14:12:51Z" comment="" />
      <item logid="6832" ns="6" title="File:RMS-OS9-Disk-scan-small-label.jpg" pageid="5700" img_sha1="1u8jux09q0ufqcjx789ehgkptk6m4p3" img_timestamp="2020-01-09T14:10:50Z" type="upload" action="upload" user="Robcfg" timestamp="2020-01-09T14:10:50Z" comment="" />
      <item logid="6831" ns="6" title="File:RMS-OS9-Disk-scan-large-label.jpg" pageid="5699" img_sha1="puyguhheee4ofbjj5rdpg147pglid9t" img_timestamp="2020-01-09T14:02:41Z" type="upload" action="upload" user="Robcfg" timestamp="2020-01-09T14:02:41Z" comment="" />
    </logevents>
  </query>
</api>