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>
    <alllinks galcontinue="Bhakti" />
  </query-continue>
  <query>
    <pages>
      <page ns="0" title="Baghdad, Iraq" missing="" />
      <page pageid="2371" ns="0" title="B. Why are agricultural villages more vulnerable--and inviting-- to attack than villages of hunter-gatherers?" />
      <page pageid="53" ns="0" title="BaBar Lab Answers" />
      <page pageid="1237" ns="0" title="Baal" />
      <page pageid="1297" ns="0" title="Basis of Society Confucius" />
      <page pageid="1298" ns="0" title="Basis of Society Legalism" />
      <page pageid="1454" ns="0" title="Basis of Society Mencius" />
      <page pageid="1304" ns="0" title="Basis of Society Taoism" />
      <page pageid="2271" ns="0" title="Beliefs" />
      <page pageid="1268" ns="0" title="Bhagavad Gita" />
    </pages>
  </query>
</api>