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"?>
      <page ns="10" title="Template:Template doc" missing="" />
      <page pageid="38" ns="10" title="Template:Infobox Game" />
      <page pageid="99" ns="10" title="Template:Infobox Software" />
      <page pageid="187" ns="10" title="Template:Infobox Tool" />
      <page pageid="620" ns="10" title="Template:Navigation bar" />
      <page pageid="57764" ns="10" title="Template:No" />
      <page pageid="158" ns="10" title="Template:Spam warning" />
      <page pageid="57763" ns="10" title="Template:Yes" />