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="Bagon|2363" />
</query-continue>
<query>
<pages>
<page pageid="295" ns="0" title="Base Experience" />
<page pageid="1525" ns="0" title="Catch Rate" />
<page pageid="1565" ns="0" title="Dragons Den" />
<page pageid="2094" ns="0" title="Dragons Den Quest" />
<page pageid="2191" ns="0" title="Luvdisc" />
<page pageid="2193" ns="0" title="Shelgon" />
<page pageid="2194" ns="0" title="Salamence" />
<page pageid="2535" ns="0" title="Complete Moves List" />
<page pageid="5273" ns="0" title="Darkrai" />
<page pageid="6107" ns="0" title="Fairy (type)" />
</pages>
</query>
</api>