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>
    <allcategories accontinue="相談と質問" />
  </query-continue>
  <query>
    <allcategories>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">+カテゴリ</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">よくある質問と回答</c>
      <c size="355" pages="355" files="0" subcats="0" xml:space="preserve">コマンド</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">サンプルコード</c>
      <c size="49" pages="49" files="0" subcats="0" xml:space="preserve">リファレンス</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">井戸端の話題</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">井戸端関連のテンプレート</c>
      <c size="2" pages="2" files="0" subcats="0" xml:space="preserve">内部リンク用テンプレート</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">利用者へのお知らせ</c>
      <c size="2" pages="2" files="0" subcats="0" xml:space="preserve">壊れたファイルへのリンクがあるページ</c>
    </allcategories>
  </query>
</api>