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>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <links>
          <pl ns="0" title="Contributors" />
          <pl ns="0" title="OER &amp; Science Education" />
          <pl ns="0" title="OER 2011" />
          <pl ns="0" title="OER and Arts Education" />
          <pl ns="0" title="Projects" />
        </links>
      </page>
    </pages>
  </query>
</api>