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="Dvgrn" timestamp="2018-12-10T20:26:31Z" comment="bump up did-you-know number to 100" contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">__NOTOC____NOEDITSECTION__&lt;!--        BANNER ACROSS TOP OF PAGE        --&gt;
{| id=&quot;mp-topbanner&quot; style=&quot;width:100%; background:#fcfcfc; margin-top:1em; border:1px solid #ccc;&quot;
| style=&quot;width:56%; color:#000;&quot; |
&lt;!--        &quot;WELCOME TO WIKIPEDIA&quot; AND ARTICLE COUNT        --&gt;
{| style=&quot;width:280px; border:none; background:none;&quot;
| style=&quot;width:280px; text-align:center; white-space:nowrap; color:#000;&quot; |
&lt;div style=&quot;font-size:162%; border:none; margin:0; padding:.1em; color:#000;&quot;&gt;Welcome to [[LifeWiki:About|LifeWiki]],&lt;/div&gt;
&lt;div style=&quot;top:+0.2em; font-size:95%;&quot;&gt;the wiki for [[Conway's Game of Life]].&lt;/div&gt;
&lt;div id=&quot;articlecount&quot; style=&quot;width:100%; text-align:center; font-size:85%;&quot;&gt;Currently contains [[Special:Statistics|{{NUMBEROFARTICLES}}]] articles.&lt;/div&gt;
|}
&lt;!--        PORTAL LIST ON RIGHT-HAND SIDE        --&gt;
| style=&quot;width:7%; font-size:95%;&quot; |
* [[:Category:Guns|Guns]]
* [[:Category:Methuselahs|Methuselahs]]
* [[:Category:Oscillators|Oscillators]]
| style=&quot;width:7%; font-size:95%;&quot; |
* [[:Category:Puffers|Puffers]]
* [[:Category:Spaceships|Spaceships]]
* [[:Category:Still lifes|Still lifes]]
| style=&quot;width:7%; font-size:95%;&quot; |
* [[:Category:Wicks|Wicks]]
* '''[[:Category:Patterns|All&amp;nbsp;patterns]]'''
* '''[[:Category:Everything else|Everything&amp;nbsp;else]]'''
|}
&lt;!--        STRAPLINE IMMEDIATELY BELOW BANNER        --&gt;
{| id=&quot;mp-strapline&quot; style=&quot;width:100%; background:none; margin:-.8em 0 -.7em 0;&quot;
| style=&quot;font-size:95%; padding:10px 0; margin:0; text-align:left; white-space:nowrap; color:#000;&quot; | [[LifeWiki:About|Overview]]&amp;nbsp;'''·''' [[LifeWiki:Editor pages|How to contribute]]&amp;nbsp;'''·''' [[ConwayLife.com:About|ConwayLife.com]]
| style=&quot;font-size:95%; padding:10px 0; margin:0; text-align:right; white-space:nowrap; color:#000;&quot; |[[:Category:Static_images|Image gallery]]&amp;nbsp;'''·''' [[Special:Popularpages|Popular pages]]&amp;nbsp;'''·''' [[Special:AllPages|A–Z index]]
|}

{| style=&quot;border-spacing:12px 0px;margin:12px 0 0 0;background:none;width:100%;&quot;
| style=&quot;width:60%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;&quot; |
{| cellpadding=&quot;2&quot; cellspacing=&quot;5&quot; style=&quot;width:100%; vertical-align:top; background:#f5fffa;&quot;
|-
| &lt;h2 style=&quot;margin:0; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;&quot;&gt;This week's featured article&lt;/h2&gt;
|-
| {{FeaturedArticle}}
|-
| &lt;h2 style=&quot;margin:0; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;&quot;&gt;In the news&lt;/h2&gt;
|-
| {{CurrentNews}}
|-
| &lt;h2 style=&quot;margin:12px 0 0; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;&quot;&gt;Pattern collection&lt;/h2&gt;
|-
| The LifeWiki contains one of the most comprehensive catalogues of patterns available on the internet. Within it you will find:
*[[:Category:Patterns|{{#expr:{{PAGESINCATEGORY:Patterns|R}}}} patterns]] (including [[:Category:Oscillators|{{#expr:{{PAGESINCATEGORY:Oscillators}}}} oscillators]], [[:Category:Spaceships|{{#expr:{{PAGESINCATEGORY:Spaceships}}}} spaceships]] and [[:Category:Still lifes|{{#expr:{{PAGESINCATEGORY:Still lifes}}}} still lifes]]);
*[[:Category:Images|{{#expr:{{PAGESINCATEGORY:Animated images|R}}+{{PAGESINCATEGORY:Static images|R}}-1}} images]] ([[:Category:Animated images|{{PAGESINCATEGORY:Animated images|R}} animated]] and [[:Category:Static images|{{#expr:{{PAGESINCATEGORY:Static images|R}}-1}} static]]);
*Over 3000 downloadable pattern files;
*[[Glider synthesis|Glider syntheses]] for {{#dpl:categorymatch=Patterns_that_can_be_constructed_with%|resultsheader=%TOTALPAGES%|format={{#if,:,,:|}}}} patterns.

&lt;div style=&quot;border:1px outset #dddddd;background:#eeeeee;margin:12px 20px 5px 20px;padding:5px;white-space:nowrap;&quot;&gt;
{| style=&quot;background:#eeeeee;&quot; |
|-
| [[File:download.gif|link=http://www.conwaylife.com/patterns/all.zip]]
|&lt;span style=&quot;padding-left:10px;font-size:130%;font-weight:bold;&quot;&gt;[http://www.conwaylife.com/patterns/all.zip Download pattern collection]&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;padding-left:10px;&quot;&gt;2 MB .zip archive containing the 1500+ [[RLE]] pattern files used on the wiki&lt;/span&gt;
|}&lt;/div&gt;
|}
| style=&quot;width:40%; border:1px solid #cedff2; background:#f5faff; vertical-align:top;&quot;|
{| cellpadding=&quot;2&quot; cellspacing=&quot;5&quot; style=&quot;width:100%; vertical-align:top; background:#f5faff;&quot;
|-
! &lt;h2 style=&quot;margin:0; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;&quot;&gt;Did you know...&lt;/h2&gt;
|-
|{{LifeWiki:Did you know|total=100|show=10}}
|}
|}</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>