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>
    <blocks>
      <block id="2" user="Smykker" by="Cedwards" timestamp="2010-01-20T21:39:52Z" expiry="infinity" reason="Spamming links to external sites" nocreate="" autoblock="" allowusertalk="" />
      <block id="1" user="Denia" by="Cedwards" timestamp="2009-11-15T22:13:33Z" expiry="infinity" reason="Inserting nonsense/gibberish into pages" nocreate="" autoblock="" allowusertalk="" />
    </blocks>
  </query>
</api>