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>
<compare fromrevid="1" torevid="2" xml:space="preserve"><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div><del class="diffchange diffchange-inline">'''MediaWiki has been successfully installed</del>.<del class="diffchange diffchange-inline">'''</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class="diffchange diffchange-inline">This is the main page for the No Goblins Allowed Wiki</ins>.</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div>Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki <del class="diffchange diffchange-inline">software</del>.</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki<ins class="diffchange diffchange-inline">.&#160; Please do not remove this notice or the below related links from the main page, at least for the time being</ins>.</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>== Getting started ==</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>== Getting started ==</div></td></tr>
</compare>
</api>