You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <allcategories>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Википедия:Способы оформления статей</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Википедия:Справка</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Википедия:Шаблоны для документирования шаблонов</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Шаблоны:Для шаблонов</c>
    </allcategories>
  </query>
</api>