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>
    <pages>
      <page pageid="395813" ns="0" title="Albert Einstein">
        <categories>
          <cl ns="14" title="Category:LEGO Dimensions Minifigures" />
          <cl ns="14" title="Category:Minifigures introduced in 2015" />
          <cl ns="14" title="Category:Minifigures that are based on real people" />
          <cl ns="14" title="Category:Video game only minifigures" />
        </categories>
      </page>
    </pages>
  </query>
</api>