You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <random>
      <page id="12062" ns="0" title="Decretum pontificum de diebus (Nova Roma)" />
      <page id="13632" ns="0" title="Senatus consultum de prorogatione et de relatione praesidum provinciarum (Nova Roma)" />
    </random>
  </query>
</api>