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="Root access through grub" />
  </query-continue>
  <query>
    <pages>
      <page pageid="41" ns="0" title="Remove a directory">
        <revisions>
          <rev xml:space="preserve">To remove a directory, use the command below:

&lt;pre&gt;
$ rm -rf &lt;directory&gt;
&lt;/pre&gt;

In the above example, you would replace &quot;&lt;directory&gt;&quot; with the name of the directory you wish to delete.

&lt;code&gt;-rf&lt;/code&gt; specifies &lt;b&gt;r&lt;/b&gt;ecursive and &lt;b&gt;f&lt;/b&gt;orce</rev>
        </revisions>
      </page>
      <page pageid="166" ns="0" title="Rescan scsi">
        <revisions>
          <rev xml:space="preserve">This will rescan all SCSI LUNs. Useful after hotplugging.

Run as root:
&lt;source lang=&quot;bash&quot;&gt;
for host in /sys/class/scsi_host/host*; do
  echo &quot;- - -&quot; &gt; $host/scan;
  echo $host/scan;
done
&lt;/source&gt;

==Rescan Disk==
Helps to get the updated size... e.g: in a VM

Run as root:
&lt;source lang=&quot;bash&quot;&gt;
echo 1 &gt; /sys/block/sdX/device/rescan
&lt;/source&gt;</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>