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-continue>
    <allpages gapfrom="Refugee Camp" />
  </query-continue>
  <query>
    <pages>
      <page pageid="4653" ns="0" title="Reducing unit train time">
        <revisions>
          <rev xml:space="preserve">[[Units]]' training time can be reduced by 60%. See:
*Joining a guild with a [[Guild Training Camp]]
*Researching [[Bootcamp]]
*Researching and assigning [[Forced Conscription]] or [[Intensive Training]] to your [[Castellan]]

{{stub}}
[[category:strategy]]</rev>
        </revisions>
      </page>
      <page pageid="2456" ns="0" title="Refining Skill">
        <revisions>
          <rev xml:space="preserve">{{ResourceSkill
|Photo=Refining_Skill
|Resource=sulfur
|MinInc=10
|MaxInc=30
}}
== Upgrades ==
{{wtc}}
!rowspan=&quot;2&quot;|Level
!rowspan=&quot;2&quot;|Base&lt;br /&gt;Increase
!rowspan=&quot;2&quot;|%&lt;br /&gt;Increase
!colspan=&quot;5&quot;|Resources needed to upgrade
!rowspan=&quot;2&quot;|Time&lt;br /&gt;(hh:mm:ss)
!rowspan=&quot;2&quot;|Fame
!rowspan=&quot;2&quot;|Requirements
|-
!width=&quot;50&quot;|Lumber
!width=&quot;50&quot;|Ore
!width=&quot;50&quot;|Sulfur
!width=&quot;50&quot;|Crystal
!width=&quot;50&quot;|Gold
|-
|1
|10
|5%
|50
|50
|33
|18
|500
|00:20:00
|15
|[[Elf Magic Tower|Elf]], [[Human Magic Tower|Human]], [[Orc Magic Tower|Orc]], [[Undead Magic Tower|Undead]] Magic Tower lvl 1
|-
|2
|12
|10%
|200
|200
|130
|70
|2000
|01:00:00
|60
|[[Elf Magic Tower|Elf]], [[Human Magic Tower|Human]], [[Orc Magic Tower|Orc]], [[Undead Magic Tower|Undead]] Magic Tower lvl 2
|-
|3
|14
|15%
|450
|450
|293
|158
|4500
|03:08:20
|135
|[[Elf Magic Tower|Elf]], [[Human Magic Tower|Human]], [[Orc Magic Tower|Orc]], [[Undead Magic Tower|Undead]] Magic Tower lvl 2
|-
|4
|16
|20%
|800
|800
|520
|280
|8000
|05:40:00
|240
|[[Elf Magic Tower|Elf]], [[Human Magic Tower|Human]], [[Orc Magic Tower|Orc]], [[Undead Magic Tower|Undead]] Magic Tower lvl 3
|-
|5
|18
|25%
|1250
|1250
|813
|438
|12500
|08:55:00
|375
|[[Elf Magic Tower|Elf]], [[Human Magic Tower|Human]], [[Orc Magic Tower|Orc]], [[Undead Magic Tower|Undead]] Magic Tower lvl 3
|-
|6
|20
|30%
|1800
|1800
|1170
|630
|18000
|12:53:20
|540
|[[Elf Magic Tower|Elf]], [[Human Magic Tower|Human]], [[Orc Magic Tower|Orc]], [[Undead Magic Tower|Undead]] Magic Tower lvl 4
|-
|7
|22
|35%
|2450
|2450
|1593
|858
|24500
|17:35:00
|735
|[[Elf Magic Tower|Elf]], [[Human Magic Tower|Human]], [[Orc Magic Tower|Orc]], [[Undead Magic Tower|Undead]] Magic Tower lvl 4
|-
|8
|24
|40%
|3200
|3200
|2080
|1120
|32000
|23:00:00
|960
|[[Elf Magic Tower|Elf]], [[Human Magic Tower|Human]], [[Orc Magic Tower|Orc]], [[Undead Magic Tower|Undead]] Magic Tower lvl 5
|-
|9
|27
|45%
|4050
|4050
|2633
|1418
|40500
|29:08:20
|1215
|[[Elf Magic Tower|Elf]], [[Human Magic Tower|Human]], [[Orc Magic Tower|Orc]], [[Undead Magic Tower|Undead]] Magic Tower lvl 6
|-
|10
|30
|50%
|5000
|5000
|3250
|1750
|50000
|36:00:00
|1500
|[[Elf Magic Tower|Elf]], [[Human Magic Tower|Human]], [[Orc Magic Tower|Orc]], [[Undead Magic Tower|Undead]] Magic Tower lvl 7
|}
[[Category:Elf]]
[[Category:Human]]
[[Category:Orc]]
[[Category:Undead]]
[[Category:Castle Spells]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>