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>
    <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" 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">Openitware</ns>
      <ns id="5" case="first-letter" subpages="" canonical="Project talk" xml:space="preserve">Openitware talk</ns>
      <ns id="6" case="first-letter" 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" 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" 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" 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="100" case="first-letter" canonical="DONATE" xml:space="preserve">DONATE</ns>
      <ns id="101" case="first-letter" canonical="DONATE talk" xml:space="preserve">DONATE talk</ns>
      <ns id="102" case="first-letter" canonical="DV Unit CMS" xml:space="preserve">DV Unit CMS</ns>
      <ns id="103" case="first-letter" canonical="DV Unit CMS talk" xml:space="preserve">DV Unit CMS talk</ns>
      <ns id="104" case="first-letter" canonical="GoInterns" xml:space="preserve">GoInterns</ns>
      <ns id="105" case="first-letter" canonical="GoInterns talk" xml:space="preserve">GoInterns talk</ns>
      <ns id="106" case="first-letter" canonical="Internship2Career" xml:space="preserve">Internship2Career</ns>
      <ns id="107" case="first-letter" canonical="Internship2Career talk" xml:space="preserve">Internship2Career talk</ns>
      <ns id="150" case="first-letter" canonical="Speech" xml:space="preserve">Speech</ns>
      <ns id="151" case="first-letter" canonical="Speech talk" xml:space="preserve">Speech talk</ns>
      <ns id="152" case="first-letter" canonical="Hapinoy" xml:space="preserve">Hapinoy</ns>
      <ns id="153" case="first-letter" canonical="Hapinoy talk" xml:space="preserve">Hapinoy talk</ns>
      <ns id="154" case="first-letter" canonical="Speech Lab" xml:space="preserve">Speech Lab</ns>
      <ns id="155" case="first-letter" canonical="Speech Lab talk" xml:space="preserve">Speech Lab talk</ns>
      <ns id="156" case="first-letter" canonical="Member Directory" xml:space="preserve">Member Directory</ns>
      <ns id="157" case="first-letter" canonical="Member Directory talk" xml:space="preserve">Member Directory talk</ns>
      <ns id="158" case="first-letter" canonical="Tire Service" xml:space="preserve">Tire Service</ns>
      <ns id="159" case="first-letter" canonical="Tire Service talk" xml:space="preserve">Tire Service talk</ns>
      <ns id="160" case="first-letter" canonical="Food Material Costing" xml:space="preserve">Food Material Costing</ns>
      <ns id="161" case="first-letter" canonical="Food Material Costing talk" xml:space="preserve">Food Material Costing talk</ns>
      <ns id="162" case="first-letter" canonical="SpEAK" xml:space="preserve">SpEAK</ns>
      <ns id="163" case="first-letter" canonical="SpEAK talk" xml:space="preserve">SpEAK talk</ns>
      <ns id="164" case="first-letter" canonical="Keeper" xml:space="preserve">Keeper</ns>
      <ns id="165" case="first-letter" canonical="Keeper talk" xml:space="preserve">Keeper talk</ns>
      <ns id="166" case="first-letter" canonical="Voyager" xml:space="preserve">Voyager</ns>
      <ns id="167" case="first-letter" canonical="Voyager talk" xml:space="preserve">Voyager talk</ns>
      <ns id="168" case="first-letter" canonical="comp730" xml:space="preserve">comp730</ns>
      <ns id="169" case="first-letter" canonical="comp730" xml:space="preserve">comp730</ns>
      <ns id="274" case="first-letter" canonical="Widget" xml:space="preserve">Widget</ns>
      <ns id="275" case="first-letter" subpages="" canonical="Widget talk" xml:space="preserve">Widget talk</ns>
    </namespaces>
  </query>
</api>