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>
    <allredirects garcontinue="Bondage_mittens" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1699" ns="0" title="Ball hood" />
      <page pageid="3122" ns="0" title="Ballbody" />
      <page pageid="2500" ns="0" title="Ballet heels" />
      <page pageid="2999" ns="0" title="Ballgag" />
      <page pageid="2864" ns="0" title="Bizarre Club" />
      <page pageid="1994" ns="0" title="Black Body" />
      <page pageid="2065" ns="0" title="Bob Zak" />
      <page pageid="1703" ns="0" title="Body bag" />
      <page pageid="3773" ns="0" title="Body stocking" />
      <page pageid="1804" ns="0" title="Bondage equipment" />
    </pages>
  </query>
</api>