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="4746" ns="0" title="Best Online Lottery 1388829545462527198596" />
      <page id="3884" ns="0" title="Best Lottery Online 7814248392755179233" />
    </random>
  </query>
</api>