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="14-in_Torpedoes_(UK)" />
  </query-continue>
  <query>
    <allcategories>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">$BIRTHYEAR births</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">$DEATHYEAR deaths</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">1053 deaths</c>
      <c size="3" pages="3" files="0" subcats="0" xml:space="preserve">14-in A.W. Tube</c>
      <c size="3" pages="3" files="0" subcats="0" xml:space="preserve">14-in A.W. Tube (UK)</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">14-in Torpedo Dropping Gear</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">14-in Torpedo Dropping Gear (UK)</c>
      <c size="17" pages="17" files="0" subcats="0" xml:space="preserve">14-in Torpedoes</c>
      <c size="5" pages="5" files="0" subcats="0" xml:space="preserve">14-in Torpedoes (Fiume)</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">14-in Torpedoes (R.L.)</c>
    </allcategories>
  </query>
</api>