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="Archives_historiques" />
  </query-continue>
  <query>
    <allcategories>
      <c size="1" pages="0" files="0" subcats="1" xml:space="preserve">1889 Etat Civil Nancy</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">1889 Nancy</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Accident mortel</c>
      <c size="9" pages="9" files="0" subcats="0" xml:space="preserve">Accidents mortels</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Actes notari├ęs en ligne</c>
      <c size="9" pages="9" files="0" subcats="0" xml:space="preserve">Anciennes communes 54</c>
      <c size="10" pages="10" files="0" subcats="0" xml:space="preserve">Annuaire des entreprises</c>
      <c size="31" pages="31" files="0" subcats="0" xml:space="preserve">Archives administratives</c>
      <c size="12" pages="8" files="0" subcats="4" xml:space="preserve">Archives commerciales</c>
      <c size="5" pages="5" files="0" subcats="0" xml:space="preserve">Archives des personnalit├ęs et des nobles</c>
    </allcategories>
  </query>
</api>