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">
        <templates>
          <tl ns="10" title="Template:Monitoring Cockpit End" />
          <tl ns="10" title="Template:Monitoring Cockpit Indicator Item Result Model" />
          <tl ns="10" title="Template:Monitoring Cockpit Start" />
          <tl ns="10" title="Template:Monitoring Component Cockpit Box Result Model" />
          <tl ns="10" title="Template:Monitoring Component Cockpit Indicator List Result Model" />
          <tl ns="10" title="Template:Monitoring Module Indicator Overview Table Header" />
          <tl ns="10" title="Template:Monitoring Module Indicator Overview Table Row" />
          <tl ns="10" title="Template:Monitoring Progress Bar Cockpit Result Model" />
          <tl ns="10" title="Template:Monitoring Progress Bar Table" />
          <tl ns="10" title="Template:Table Footer" />
        </templates>
      </page>
    </pages>
  </query>
</api>