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>
    <alltransclusions gatcontinue="Boklink|1389" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1367" ns="0" title="TFY4195 Optikk" />
      <page pageid="1369" ns="0" title="TEP4145 Klassisk mekanikk" />
      <page pageid="1370" ns="0" title="TFY4205 Kvantemekanikk II" />
      <page pageid="1375" ns="0" title="TFY4250 Kvantemekanikk I" />
      <page pageid="1377" ns="0" title="FY3402 Subatomær fysikk" />
      <page pageid="1382" ns="0" title="TMA4100 Matematikk 1" />
      <page pageid="1383" ns="0" title="TMA4105 Matematikk 2" />
      <page pageid="1386" ns="0" title="TDT4120 Algoritmer og datastrukturer" />
      <page pageid="1387" ns="0" title="TMA4260 Industriell statistikk" />
      <page pageid="1388" ns="0" title="TMA4215 Numerisk matematikk" />
    </pages>
  </query>
</api>