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>
    <allpages apcontinue="Document:Example" />
  </query-continue>
  <query>
    <allpages>
      <p pageid="3992" ns="0" title="Dagsverk-journal, Taksvärk Räknik, Saaren kartano 1890-1891" />
      <p pageid="3993" ns="0" title="Dagsverk-journal 1890-1891" />
      <p pageid="3994" ns="0" title="Dagsverks-journal 1890-1891" />
      <p pageid="3995" ns="0" title="Dagsverks-journal 1893" />
      <p pageid="3996" ns="0" title="Dagsverks-journal 1894-1895" />
      <p pageid="3937" ns="0" title="Document:Dagsverk-journal, Taksvärk Räknik, Saaren kartano 1890-1891" />
      <p pageid="3939" ns="0" title="Document:Dagsverk-journal 1890-1891" />
      <p pageid="3940" ns="0" title="Document:Dagsverks-journal 1890-1891" />
      <p pageid="3987" ns="0" title="Document:Dagsverks-journal 1893" />
      <p pageid="3958" ns="0" title="Document:Dagsverks-journal 1894-1895" />
    </allpages>
  </query>
</api>