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="Bewohner" />
  </query-continue>
  <query>
    <allcategories>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">! Herzogtum Drachengard</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">! Hoch- und Niederadel</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">! Verwaltung und Herrschaftssystem</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">329</c>
      <c size="14" pages="13" files="0" subcats="1" xml:space="preserve">Adel</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Adelsfamilien</c>
      <c size="2" pages="2" files="0" subcats="0" xml:space="preserve">Anderswesen</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Baronie Schwarzenfels</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Baronie Schwarzenfels (Bewohner)</c>
      <c size="5" pages="5" files="0" subcats="0" xml:space="preserve">Besitztümer und Orte</c>
    </allcategories>
  </query>
</api>