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="Balanced|196" />
  </query-continue>
  <query>
    <pages>
      <page pageid="515" ns="0" title="Ambush" />
      <page pageid="522" ns="10" title="Template:Back Stab" />
      <page pageid="635" ns="0" title="Fire Magic" />
      <page pageid="1858" ns="0" title="Glory Fist Assassin" />
      <page pageid="1859" ns="10" title="Template:Glory Fist Assassin" />
      <page pageid="1886" ns="0" title="Free Shield Doctor" />
      <page pageid="1894" ns="0" title="Glory Fist" />
      <page pageid="1995" ns="10" title="Template:Backpack" />
      <page pageid="2065" ns="0" title="Magic Wheel Sorcerer" />
      <page pageid="2066" ns="0" title="Magic Wheel Beggar" />
    </pages>
  </query>
</api>