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 pageid="9976" missing="" />
<page pageid="1" ns="0" title="Página principal" />
<page pageid="86" ns="14" title="Categoria:Cursos Online" />
<page pageid="87" ns="0" title="Concurso de Monografias "TROFÉU TALENTO PÚBLICO"" />
<page pageid="89" ns="0" title="Biblioteca Digital" />
<page pageid="125" ns="0" title="Perguntas Frequentes" />
</pages>
</query>
</api>