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="1560" ns="0" title="1797 год" />
      <page id="1751" ns="0" title="Закончившие Петришуле в 1899 году: 8-й класс мужской гимназии" />
    </random>
  </query>
</api>