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>
<alltransclusions gatcontinue="Doc/end|17" />
</query-continue>
<query>
<pages>
<page pageid="6" ns="10" title="Шаблон:Примечания" />
<page pageid="17" ns="10" title="Шаблон:Ссылку в число" />
<page pageid="19" ns="10" title="Шаблон:Tnavbar" />
<page pageid="20" ns="10" title="Шаблон:Doc" />
</pages>
</query>
</api>