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="Protected_redirects" />
</query-continue>
<query>
<allcategories>
<c size="1" pages="1" files="0" subcats="0" xml:space="preserve">2010 Convert unit subtemplates</c>
<c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Amusement park templates</c>
<c size="7" pages="7" files="0" subcats="0" xml:space="preserve">Coord template</c>
<c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Disney amusement park templates</c>
<c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Documentation subpages without corresponding pages</c>
<c size="5" pages="1" files="4" subcats="0" xml:space="preserve">Featured Page Screenshots</c>
<c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Geography and place infobox templates</c>
<c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Geography infobox templates</c>
<c size="8" pages="8" files="0" subcats="0" xml:space="preserve">Intricate templates</c>
<c size="6" pages="6" files="0" subcats="0" xml:space="preserve">Pages with broken file links</c>
</allcategories>
</query>
</api>