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="Sendmail" />
  </query-continue>
  <query>
    <pages>
      <page pageid="50" ns="0" title="Ruby">
        <revisions>
          <rev xml:space="preserve">==Problems with mysql or mysql2 gem on RHEL==

If getting an error like the following when trying to install mysql2 gem:

&lt;pre&gt;
# gem install mysql2
Building native extensions.  This could take a while...
ERROR:  Error installing mysql2:
        ERROR: Failed to build gem native extension.

        /usr/local/rvm/rubies/ree-1.8.7-2011.03/bin/ruby extconf.rb
checking for rb_thread_blocking_region()... no
checking for mysql.h... no
checking for mysql/mysql.h... no
-----
mysql.h is missing.  please check your installation of mysql and try again.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/usr/local/rvm/rubies/ree-1.8.7-2011.03/bin/ruby
        --with-mysql-config
        --without-mysql-config


Gem files will remain installed in /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/mysql2-0.3.6 for inspection.
Results logged to /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/mysql2-0.3.6/ext/mysql2/gem_make.out
&lt;/pre&gt;

The error &lt;tt&gt;Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers&lt;/tt&gt; it typically due to some library or devel package being missing.  In this case we needed mysql-devel:

&lt;pre&gt;
yum install mysql-devel
&lt;/pre&gt;

Then, you must pass in the location of the mysql config into the gem command:

&lt;pre&gt;
# gem install mysql2 -- --with-mysql-config=/usr/lib64/mysql/mysql_config 
Building native extensions.  This could take a while...
Successfully installed mysql2-0.3.6
1 gem installed
&lt;/pre&gt;</rev>
        </revisions>
      </page>
      <page pageid="15" ns="0" title="Samba">
        <revisions>
          <rev xml:space="preserve">==General Notes==
Just a few notes

&lt;pre&gt;
/etc/samba/smb.conf
testparm
/etc/samba/smbusers
smbpasswd -a username
smbclient -L server -U username
mount.cifs //host/share /mnt/pnt -o user=username
//host/share /mnt/pnt cifs credentials=/etc/samba/pub.cred 00   ###selinux
&lt;/pre&gt;</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>