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>
    <pages>
      <page pageid="23" missing="" />
      <page pageid="18" ns="0" title="Objectives" />
      <page pageid="671" ns="0" title="Meers" />
      <page pageid="6593" ns="0" title="Rehabilitation planning" />
      <page pageid="6599" ns="0" title="How does my river work" />
      <page pageid="6601" ns="0" title="River basin management plan" />
      <page pageid="6666" ns="0" title="Introduction to characterisation" />
      <page pageid="6966" ns="4" title="REFORM wiki:Restoration planning" />
    </pages>
  </query>
</api>