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="Шаблон:Doc/begin" missing="" />
      <page ns="10" title="Шаблон:Doc/doc" missing="" />
      <page ns="10" title="Шаблон:Doc/end" missing="" />
      <page ns="10" title="Шаблон:Tlinks" missing="" />
      <page ns="10" title="Шаблон:Tnavbar/doc" missing="" />
      <page ns="10" title="Шаблон:Документировать" missing="" />
      <page ns="10" title="Шаблон:Примечания/doc" missing="" />
      <page ns="10" title="Шаблон:Ссылку в число/doc" missing="" />
      <page pageid="20" ns="10" title="Шаблон:Doc" />
      <page pageid="17" ns="10" title="Шаблон:Ссылку в число" />
    </pages>
  </query>
</api>