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="0" title="Civic life (Nova Roma)" />
          <tl ns="0" title="Cultus deorum Romanorum" />
          <tl ns="0" title="Nova Romanitas" />
          <tl ns="0" title="Res Publica Nova Romana" />
          <tl ns="10" title="Template:2024" />
          <tl ns="10" title="Template:AugustDelay" />
          <tl ns="10" title="Template:Becoming a citizen" />
          <tl ns="10" title="Template:Current Events Shortlist" />
          <tl ns="10" title="Template:Global" />
          <tl ns="10" title="Template:GlobalText" />
        </templates>
      </page>
    </pages>
  </query>
  <query-continue>
    <templates tlcontinue="1|10|Hodie" />
  </query-continue>
</api>