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="タイムリミットは48時間" />
      <page pageid="22" ns="0" title="いかりや長介" contentmodel="wikitext" pagelanguage="ja" touched="2014-06-27T04:15:32Z" lastrevid="57" counter="1494" length="313" new="" />
      <page pageid="30" ns="0" title="さらば愛しき刑事" contentmodel="wikitext" pagelanguage="ja" touched="2014-07-17T08:07:37Z" lastrevid="144" counter="4838" length="2840" />
      <page pageid="7" ns="0" title="サラリーマン刑事と最初の難事件" contentmodel="wikitext" pagelanguage="ja" touched="2014-07-17T06:54:05Z" lastrevid="525" counter="9616" length="4202" />
      <page pageid="105" ns="0" title="サンドボックス" contentmodel="wikitext" pagelanguage="ja" touched="2016-07-23T16:30:53Z" lastrevid="544" counter="4013" length="107" />