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="2019-10-20T21:39:24Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="6681" ns="0" title="AI and ML for Depression And Suicide Screening" pageid="6601" type="patrol" action="patrol" user="Vmohan" timestamp="2019-10-25T00:40:32Z" comment="">
        <patrol cur="32498" prev="32497" auto="1" />
      </item>
      <item logid="6680" ns="0" title="AI and ML for Depression And Suicide Screening" pageid="6601" type="patrol" action="patrol" user="Vmohan" timestamp="2019-10-25T00:39:48Z" comment="">
        <patrol cur="32497" prev="32496" auto="1" />
      </item>
      <item logid="6679" ns="0" title="AI and ML for Depression And Suicide Screening" pageid="6601" type="patrol" action="patrol" user="Vmohan" timestamp="2019-10-25T00:37:21Z" comment="">
        <patrol cur="32496" prev="32433" auto="1" />
      </item>
      <item logid="6678" ns="0" title="ConfidentialSocialHistory" pageid="6605" type="move" action="move" user="Katefu13" timestamp="2019-10-22T23:33:13Z" comment="spacing">
        <move new_ns="0" new_title="Confidential Social History" />
      </item>
      <item logid="6677" ns="3" title="User talk:Akoe" pageid="6600" type="patrol" action="patrol" user="Vmohan" timestamp="2019-10-20T21:42:53Z" comment="">
        <patrol cur="32425" prev="0" auto="1" />
      </item>
      <item logid="6676" ns="2" title="User:Akoe" pageid="6599" type="patrol" action="patrol" user="Vmohan" timestamp="2019-10-20T21:42:53Z" comment="">
        <patrol cur="32424" prev="0" auto="1" />
      </item>
      <item logid="6675" ns="2" title="User:Akoe" pageid="6599" type="newusers" action="create2" userid="3026" user="Vmohan" timestamp="2019-10-20T21:42:52Z" comment="" />
      <item logid="6674" ns="3" title="User talk:Leestephenz" pageid="6598" type="patrol" action="patrol" user="Vmohan" timestamp="2019-10-20T21:42:44Z" comment="">
        <patrol cur="32423" prev="0" auto="1" />
      </item>
      <item logid="6673" ns="2" title="User:Leestephenz" pageid="6597" type="patrol" action="patrol" user="Vmohan" timestamp="2019-10-20T21:42:44Z" comment="">
        <patrol cur="32422" prev="0" auto="1" />
      </item>
      <item logid="6672" ns="2" title="User:Leestephenz" pageid="6597" type="newusers" action="create2" userid="3025" user="Vmohan" timestamp="2019-10-20T21:42:44Z" comment="" />
    </logevents>
  </query>
</api>