You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <namespaces>
      <ns id="-2" case="first-letter" canonical="Media" xml:space="preserve">Media</ns>
      <ns id="-1" case="first-letter" canonical="Special" xml:space="preserve">Special</ns>
      <ns id="0" case="first-letter" subpages="" content="" xml:space="preserve" />
      <ns id="1" case="first-letter" subpages="" canonical="Talk" xml:space="preserve">Talk</ns>
      <ns id="2" case="first-letter" subpages="" canonical="User" xml:space="preserve">User</ns>
      <ns id="3" case="first-letter" subpages="" canonical="User talk" xml:space="preserve">User talk</ns>
      <ns id="4" case="first-letter" subpages="" canonical="Project" xml:space="preserve">Community Central</ns>
      <ns id="5" case="first-letter" subpages="" canonical="Project talk" xml:space="preserve">Community Central talk</ns>
      <ns id="6" case="first-letter" subpages="" canonical="File" xml:space="preserve">File</ns>
      <ns id="7" case="first-letter" subpages="" canonical="File talk" xml:space="preserve">File talk</ns>
      <ns id="8" case="first-letter" subpages="" canonical="MediaWiki" xml:space="preserve">MediaWiki</ns>
      <ns id="9" case="first-letter" subpages="" canonical="MediaWiki talk" xml:space="preserve">MediaWiki talk</ns>
      <ns id="10" case="first-letter" subpages="" canonical="Template" xml:space="preserve">Template</ns>
      <ns id="11" case="first-letter" subpages="" canonical="Template talk" xml:space="preserve">Template talk</ns>
      <ns id="12" case="first-letter" subpages="" canonical="Help" content="" xml:space="preserve">Help</ns>
      <ns id="13" case="first-letter" subpages="" canonical="Help talk" xml:space="preserve">Help talk</ns>
      <ns id="14" case="first-letter" subpages="" canonical="Category" xml:space="preserve">Category</ns>
      <ns id="15" case="first-letter" subpages="" canonical="Category talk" xml:space="preserve">Category talk</ns>
      <ns id="110" case="first-letter" subpages="" canonical="Forum" content="" xml:space="preserve">Forum</ns>
      <ns id="111" case="first-letter" subpages="" canonical="Forum talk" xml:space="preserve">Forum talk</ns>
      <ns id="112" case="first-letter" subpages="" canonical="Admin Central" content="" xml:space="preserve">Admin Central</ns>
      <ns id="113" case="first-letter" canonical="Admin Central talk" xml:space="preserve">Admin Central talk</ns>
      <ns id="114" case="first-letter" subpages="" canonical="Admin Forum" content="" xml:space="preserve">Admin Forum</ns>
      <ns id="115" case="first-letter" canonical="Admin Forum talk" xml:space="preserve">Admin Forum talk</ns>
      <ns id="116" case="first-letter" subpages="" canonical="Admin Support" content="" xml:space="preserve">Admin Support</ns>
      <ns id="117" case="first-letter" subpages="" canonical="Admin Support talk" xml:space="preserve">Admin Support talk</ns>
      <ns id="118" case="first-letter" subpages="" canonical="Adoption" content="" xml:space="preserve">Adoption</ns>
      <ns id="119" case="first-letter" subpages="" canonical="Adoption talk" xml:space="preserve">Adoption talk</ns>
      <ns id="120" case="first-letter" canonical="Bot scan" content="" xml:space="preserve">Bot scan</ns>
      <ns id="121" case="first-letter" canonical="Bot scan talk" xml:space="preserve">Bot scan talk</ns>
      <ns id="122" case="first-letter" subpages="" canonical="Archive" xml:space="preserve">Archive</ns>
      <ns id="123" case="first-letter" subpages="" canonical="Archive talk" xml:space="preserve">Archive talk</ns>
      <ns id="150" case="first-letter" canonical="Hub" xml:space="preserve">Hub</ns>
      <ns id="151" case="first-letter" canonical="Hub talk" xml:space="preserve">Hub talk</ns>
      <ns id="500" case="first-letter" subpages="" canonical="User blog" xml:space="preserve">User blog</ns>
      <ns id="501" case="first-letter" subpages="" canonical="User blog comment" xml:space="preserve">User blog comment</ns>
      <ns id="502" case="first-letter" subpages="" canonical="Blog" xml:space="preserve">Blog</ns>
      <ns id="503" case="first-letter" subpages="" canonical="Blog talk" xml:space="preserve">Blog talk</ns>
      <ns id="828" case="first-letter" subpages="" canonical="Module" xml:space="preserve">Module</ns>
      <ns id="829" case="first-letter" subpages="" canonical="Module talk" xml:space="preserve">Module talk</ns>
      <ns id="1200" case="first-letter" subpages="" canonical="Message Wall" xml:space="preserve">Message Wall</ns>
      <ns id="1201" case="first-letter" subpages="" canonical="Thread" xml:space="preserve">Thread</ns>
      <ns id="1202" case="first-letter" canonical="Message Wall Greeting" xml:space="preserve">Message Wall Greeting</ns>
      <ns id="2000" case="first-letter" canonical="Board" xml:space="preserve">Board</ns>
      <ns id="2001" case="first-letter" subpages="" canonical="Board Thread" xml:space="preserve">Board Thread</ns>
      <ns id="2002" case="first-letter" canonical="Topic" xml:space="preserve">Topic</ns>
    </namespaces>
    <namespacealiases>
      <ns id="4" xml:space="preserve">Wikia</ns>
      <ns id="5" xml:space="preserve">Wikia talk</ns>
      <ns id="116" xml:space="preserve">AST</ns>
      <ns id="117" xml:space="preserve">ASTalk</ns>
      <ns id="117" xml:space="preserve">AST Talk</ns>
      <ns id="6" xml:space="preserve">Image</ns>
      <ns id="7" xml:space="preserve">Image talk</ns>
    </namespacealiases>
  </query>
</api>