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-continue>
    <links plcontinue="1|0|List_Available_Phone_Numbers" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <links>
          <pl ns="0" title="Calculate Credits" />
          <pl ns="0" title="Changelog" />
          <pl ns="0" title="Delete Sscheduled SMS" />
          <pl ns="0" title="Get Calls History" />
          <pl ns="0" title="Get Credit Limit" />
          <pl ns="0" title="Get Domain Info" />
          <pl ns="0" title="Get History" />
          <pl ns="0" title="Get Line Details" />
          <pl ns="0" title="Get Line List" />
          <pl ns="0" title="Get Sender Names" />
        </links>
      </page>
    </pages>
  </query>
</api>