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="ESIP Administration" />
          <pl ns="0" title="ESIP Collaboration Tools" />
          <pl ns="0" title="ESIP Outputs and Outcomes" />
          <pl ns="0" title="Federation Documents" />
          <pl ns="0" title="Main Page/Start here" />
          <pl ns="0" title="Main Page News Archive" />
          <pl ns="0" title="Old Main Page" />
        </links>
      </page>
    </pages>
  </query>
</api>