A pure-Perl DOM implementation