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"?>
    <allpages gapcontinue="Thread_safety" />
      <page pageid="136" ns="0" title="Terrain with foliage example" contentmodel="wikitext" pagelanguage="en" touched="2017-09-17T18:36:07Z" lastrevid="724" counter="802" length="1000" new="" />
      <page pageid="88" ns="0" title="Test" contentmodel="wikitext" pagelanguage="en" touched="2012-04-10T18:43:04Z" lastrevid="351" counter="1167" length="6" new="" />
      <page pageid="122" ns="0" title="Texture splatting on a terrain" contentmodel="wikitext" pagelanguage="en" touched="2014-10-08T08:57:14Z" lastrevid="610" counter="4591" length="8060" />
      <page pageid="19" ns="0" title="The different renderers" contentmodel="wikitext" pagelanguage="en" touched="2013-02-01T22:45:05Z" lastrevid="404" counter="22311" length="2886" />