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>
<pages>
<page ns="10" title="Template:Citation needed" missing="" />
<page ns="10" title="Template:Cite book" missing="" />
<page ns="10" title="Template:Cite journal" missing="" />
<page ns="10" title="Template:Cite news" missing="" />
<page ns="10" title="Template:Cite web" missing="" />
<page ns="10" title="Template:Reflist" missing="" />
<page ns="10" title="Template:Rp" missing="" />
<page ns="10" title="Template:See" missing="" />
<page pageid="89" ns="10" title="Template:Main" />
</pages>
</query>
</api>