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="French_Land_Unit" />
  </query-continue>
  <query>
    <allcategories>
      <c size="26" pages="26" files="0" subcats="0" xml:space="preserve">Army</c>
      <c size="155" pages="155" files="0" subcats="0" xml:space="preserve">Austrian Land Unit</c>
      <c size="86" pages="86" files="0" subcats="0" xml:space="preserve">Battle</c>
      <c size="20" pages="20" files="0" subcats="0" xml:space="preserve">Bavarian Land Unit</c>
      <c size="187" pages="187" files="0" subcats="0" xml:space="preserve">British Land Unit</c>
      <c size="255" pages="255" files="0" subcats="0" xml:space="preserve">British Naval Unit</c>
      <c size="20" pages="20" files="0" subcats="0" xml:space="preserve">Brunswick Land Unit</c>
      <c size="316" pages="316" files="0" subcats="0" xml:space="preserve">Campaign</c>
      <c size="6" pages="6" files="0" subcats="0" xml:space="preserve">EBooks</c>
      <c size="13" pages="13" files="0" subcats="0" xml:space="preserve">French Compagnie des Indes</c>
    </allcategories>
  </query>
</api>