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>
    <search>
      <p ns="0" title="Region/The League Of Well Meaning Leaders" snippet="|title=The League Of Well &lt;span class=&#039;searchmatch&#039;&gt;Meaning&lt;/span&gt; Leaders&#10;|keywords=NationStates,The League Of Well &lt;span class=&#039;searchmatch&#039;&gt;Meaning&lt;/span&gt; Leaders,NSWiki,&#10;" size="3628" wordcount="510" timestamp="2016-04-05T16:44:53Z" />
      <p ns="0" title="Region/The League of Well Meaning Leaders" snippet="|title=The League Of Well &lt;span class=&#039;searchmatch&#039;&gt;Meaning&lt;/span&gt; Leaders&#10;|keywords=NationStates,The League Of Well &lt;span class=&#039;searchmatch&#039;&gt;Meaning&lt;/span&gt; Leaders,NSWiki,&#10;" size="1730" wordcount="201" timestamp="2018-06-12T21:53:06Z" />
      <p ns="0" title="Region/The Meaning Of Life" snippet="|title=The &lt;span class=&#039;searchmatch&#039;&gt;Meaning&lt;/span&gt; Of Life&#10;|keywords=NationStates,The &lt;span class=&#039;searchmatch&#039;&gt;Meaning&lt;/span&gt; Of Life,NSWiki,&#10;" size="1614" wordcount="184" timestamp="2016-09-24T06:28:03Z" />
    </search>
  </query>
</api>