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="1648" ns="0" title="Процесс Жиля де Рэ/Приговор Жилю де Рэ, еретику и вероотступнику." />
      <page id="2246" ns="0" title="Хроника Девы/Глава V. О битве у деревни Гравель" />
    </random>
  </query>
</api>