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>
    <allpages>
      <p pageid="4" ns="0" title="Glavna stran" />
      <p pageid="3" ns="0" title="Glavna stran 2013 - 2014" />
      <p pageid="5" ns="0" title="Gradivo" />
      <p pageid="1" ns="0" title="Main Page" />
    </allpages>
  </query>
</api>