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="1" ns="0" title="Main Page">
        <links>
          <pl ns="0" title="Content Creation" />
          <pl ns="0" title="HowTo" />
          <pl ns="0" title="HowTo/Create a session" />
          <pl ns="0" title="HowToGuides" />
          <pl ns="0" title="How to Use S20 Palettes" />
          <pl ns="0" title="How to Use S20 Tools" />
          <pl ns="0" title="Platform-mobile" />
          <pl ns="0" title="TRS19" />
          <pl ns="0" title="TRS22" />
          <pl ns="0" title="Trainz A New Era" />
        </links>
      </page>
    </pages>
  </query>
  <query-continue>
    <links plcontinue="1|0|Trainz Plus" />
  </query-continue>
</api>