You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page ns="0" title="API" missing="" />
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Imahero" timestamp="2019-01-20T18:54:30Z" comment="" contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">__notoc__{{about|This wiki aims to be a complete reference to {{homm3}}. There are currently a total of '''[[Special:AllPages|{{NUMBEROFARTICLES}}]]''' articles.}}

[[Image:Homm3.jpg|frame|right]]

{| cellspacing=0 cellpadding=0 style=&quot;float:left; padding-right:10px; padding-bottom:5px;&quot;
|- 
| [[File: Town portrait Castle small.gif|Castle|link=Castle]]{{-}}[[Castle]]
|- 
| [[File: Town portrait Rampart small.gif|Rampart|link=Rampart]]{{-}}[[Rampart]]
|- 
| [[File: Town portrait Tower small.gif|Tower|link=Tower]]{{-}}[[Tower]]
|- 
| [[File: Town portrait Inferno small.gif|Inferno|link=Inferno]]{{-}}[[Inferno]]
|- 
| [[File: Town portrait Necropolis small.gif|Necropolis|link=Necropolis]]{{-}}[[Necropolis]]
|- 
| [[File: Town portrait Dungeon small.gif|Dungeon|link=Dungeon]]{{-}}[[Dungeon]]
|- 
| [[File: Town portrait Stronghold small.gif|Stronghold|link=Stronghold]]{{-}}[[Stronghold]]
|- 
| [[File: Town portrait Fortress small.gif|Fortress|link=Fortress]]{{-}}[[Fortress]]
|-
| [[File: Town portrait Conflux small.gif|Conflux|link=Conflux]]{{-}}[[Conflux]]{{-}}{{withab}}
|- 
| [[File: Town portrait Cove small.gif|Cove|link=Cove]]{{-}}[[Cove]]{{-}}{{withhota}}
|}

{| cellspacing=0 cellpadding=0 style=&quot;white-space:nowrap; text-align:left;&quot;
|-
![[File:Artifacts_ui_icon.png|Artifacts|link=List of artifacts]] [[List of artifacts|Artifacts]]
|-
![[File:Creatures_ui_icon.png|Creatures|link=List of creatures]] [[List of creatures|Creatures]]
|-
![[File:Heroes_ui_icon.png|Heroes|link=List of heroes]] [[List of heroes|Heroes]]
|-
![[File:Maps_ui_icon.png|Maps|link=List of maps]] [[List of maps|Maps]]
|-
![[File:Spells_ui_icon.png|Spells|link=List of spells]] [[List of spells|Spells]]
|}

&lt;div style=&quot;clear:left;&quot;&gt;&lt;/div&gt;
----
======&lt;span class=&quot;plainlinks&quot;&gt;[http://heroes.thelazy.net/wiki/index.php?title=Special%3APrefixIndex&amp;prefix=&amp;namespace=0&amp;hideredirects=1 &lt;span style=&quot;color:#551A8B;&quot;&gt;Pages&lt;/span&gt;]&lt;/span&gt;======
[[Adventure Map]] | [[Campaigns]] | [[Cheats]] | [[Creature]] | [[Did you know|Did you know?]] | [[Hero class|Hero Classes]] | [[Horn of the Abyss]] | [[Movement]] | [[Terrain]]
----
======[[:Category:Content|Categories]]======
[[:Category:Adventure Map|Adventure Map]] | [[:Category:Artifacts|Artifacts]] | [[:Category:Combat|Combat]] | [[:Category:Creatures|Creatures]] | [[:Category:Features|Features]] | [[:Category:Heroes|Heroes]] | [[:Category:Miscellaneous|Misc]] | [[:Category:Spells|Spells]] | [[:Category:Structures|Structures]] | [[:Category:Terms|Terms]] | [[:Category:Towns|Towns]]''
----
'''''Want to add something? Take a look at the [[:Category: Contributor Resources|contributor resources]].'''''

'''''Have something to say? Use the [[chatbox]].'''''

'''''Join the international &lt;span class=&quot;plainlinks&quot;&gt;[https://discord.gg/eDkPSNf &lt;span style=&quot;color:#551A8B;&quot;&gt;Horn of the Abyss discord server&lt;/span&gt;]&lt;/span&gt;! Also check out the other related [[discord servers]].'''''</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>