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="Серия_игр_Diablo" />
  </query-continue>
  <query>
    <pages>
      <page ns="10" title="Шаблон:Refbegin" missing="" />
      <page pageid="41" ns="10" title="Шаблон:Test2" />
      <page pageid="126" ns="10" title="Шаблон:Архив" />
      <page pageid="123" ns="10" title="Шаблон:В работе" />
      <page pageid="970" ns="10" title="Шаблон:Другое значение" />
      <page pageid="122" ns="10" title="Шаблон:ЗаготовкаБланк" />
      <page pageid="141" ns="10" title="Шаблон:Классы D2" />
      <page pageid="48" ns="10" title="Шаблон:Классы D3" />
      <page pageid="127" ns="10" title="Шаблон:На удаление" />
      <page pageid="46" ns="10" title="Шаблон:Ремесленники D3" />
    </pages>
  </query>
</api>