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="315601" ns="0" title="Bob Martin Flea Tablets - Its Uses And Precautions" /><page id="300243" ns="0" title="How To Promote On Your Own In An Helpful Way" /></random></query></api>