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">Narutopedia</ns>
      <ns id="5" case="first-letter" subpages="" canonical="Project talk" xml:space="preserve">Narutopedia 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" 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" 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" canonical="Infobox" xml:space="preserve">Infobox</ns>
      <ns id="113" case="first-letter" canonical="Infobox talk" xml:space="preserve">Infobox talk</ns>
      <ns id="114" case="first-letter" canonical="Quotes" content="" xml:space="preserve">Quotes</ns>
      <ns id="115" case="first-letter" canonical="Quotes talk" xml:space="preserve">Quotes talk</ns>
      <ns id="302" case="first-letter" canonical="Property" xml:space="preserve">Property</ns>
      <ns id="303" case="first-letter" subpages="" canonical="Property talk" content="" xml:space="preserve">Property talk</ns>
      <ns id="304" case="first-letter" canonical="Type" xml:space="preserve">Type</ns>
      <ns id="305" case="first-letter" subpages="" canonical="Type talk" xml:space="preserve">Type talk</ns>
      <ns id="306" case="first-letter" canonical="Form" xml:space="preserve">Form</ns>
      <ns id="307" case="first-letter" subpages="" canonical="Form talk" xml:space="preserve">Form talk</ns>
      <ns id="308" case="first-letter" canonical="Concept" xml:space="preserve">Concept</ns>
      <ns id="309" case="first-letter" canonical="Concept talk" xml:space="preserve">Concept talk</ns>
      <ns id="370" case="first-letter" canonical="Filter" xml:space="preserve">Filter</ns>
      <ns id="371" case="first-letter" subpages="" canonical="Filter talk" xml:space="preserve">Filter talk</ns>
      <ns id="420" case="first-letter" canonical="Layer" xml:space="preserve">Layer</ns>
      <ns id="421" case="first-letter" canonical="Layer talk" xml:space="preserve">Layer talk</ns>
      <ns id="1200" case="first-letter" subpages="" canonical="Message Wall" xml:space="preserve">Message Wall</ns>
      <ns id="1201" case="first-letter" 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" canonical="Board Thread" xml:space="preserve">Board Thread</ns>
      <ns id="2002" case="first-letter" canonical="Topic" xml:space="preserve">Topic</ns>
    </namespaces>
  </query>
</api>