You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <logevents>
      <item logid="4245" pageid="0" ns="2" title="User:37.212.81.42" type="userlogin" action="error" user="Swbg" timestamp="2025-05-24T04:03:13Z" comment="There is no user by the name &quot;wretchedperfume&quot;.&#10;Check your spelling.">
        <param>37.212.81.42</param>
      </item>
      <item logid="4224" pageid="96" ns="2" title="User:Swbg" type="userlogin" action="logout" user="Swbg" timestamp="2025-04-16T08:18:34Z" comment="136.226.190.123" />
      <item logid="4223" pageid="1" ns="0" title="Main Page" type="patrol" action="patrol" user="Swbg" timestamp="2025-04-16T08:18:19Z" comment="">
        <patrol auto="1" prev="817" cur="865" />
      </item>
      <item logid="4222" pageid="371" ns="0" title="PDF Guidebooks" type="patrol" action="patrol" user="Swbg" timestamp="2025-04-16T08:16:52Z" comment="">
        <patrol auto="1" prev="846" cur="864" />
      </item>
      <item logid="4221" pageid="96" ns="2" title="User:Swbg" type="userlogin" action="success" user="Swbg" timestamp="2025-04-16T08:10:57Z" comment="136.226.190.123" />
      <item logid="4218" pageid="96" ns="2" title="User:Swbg" type="userlogin" action="logout" user="Swbg" timestamp="2025-04-14T13:20:42Z" comment="136.226.190.123" />
      <item logid="4217" pageid="96" ns="2" title="User:Swbg" type="userlogin" action="success" user="Swbg" timestamp="2025-04-14T13:19:02Z" comment="136.226.190.123" />
      <item logid="4216" pageid="0" ns="2" title="User:136.226.190.123" type="userlogin" action="error" user="Swbg" timestamp="2025-04-14T13:18:57Z" comment="Incorrect password entered.&#10;Please try again.">
        <param>136.226.190.123</param>
      </item>
      <item logid="4212" pageid="0" ns="2" title="User:86.140.118.92" type="userlogin" action="error" user="Swbg" timestamp="2025-04-10T20:47:43Z" comment="South Wales Bouldering Guide Wiki uses cookies to log in users.&#10;You have cookies disabled.&#10;Please enable them and try again.">
        <param>86.140.118.92</param>
      </item>
      <item logid="4211" pageid="0" ns="2" title="User:86.140.118.92" type="userlogin" action="error" user="Swbg" timestamp="2025-04-10T20:46:10Z" comment="A password reminder has already been sent, within the last 24 hours.&#10;To prevent abuse, only one password reminder will be sent per 24 hours.">
        <param>86.140.118.92</param>
      </item>
    </logevents>
  </query>
  <query-continue>
    <logevents lestart="2025-04-10T20:46:05Z" />
  </query-continue>
</api>