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="2566" ns="0" title="Superb Advice For Anybody Thinking Of Cosmetic Surgery8604075" />
      <page id="2402" ns="0" title="Exciting! What&#039;s The Origins Of Expression Wellness3599238" />
    </random>
  </query>
</api>