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="Aizupe_parish" />
</query-continue>
<query>
<allcategories>
<c size="9" pages="0" files="0" subcats="9" xml:space="preserve">Abrene county</c>
<c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Abrēne county</c>
<c size="2" pages="2" files="0" subcats="0" xml:space="preserve">Aduliena parish</c>
<c size="11" pages="11" files="0" subcats="0" xml:space="preserve">Ainaži parish</c>
<c size="23" pages="23" files="0" subcats="0" xml:space="preserve">Aiviekste parish</c>
<c size="6" pages="6" files="0" subcats="0" xml:space="preserve">Aizkalne parish</c>
<c size="4" pages="4" files="0" subcats="0" xml:space="preserve">Aizkraukle parish</c>
<c size="19" pages="0" files="0" subcats="19" xml:space="preserve">Aizpute county</c>
<c size="18" pages="18" files="0" subcats="0" xml:space="preserve">Aizpute parish</c>
<c size="7" pages="7" files="0" subcats="0" xml:space="preserve">Aiztere parish</c>
</allcategories>
</query>
</api>