As mentioned in a previous post, someone already wrote a script for making the migration to from PHP 4 to PHP 5 easier, if you're using the domxml extension of PHP 4. Unfortunately the site went soon offline and the script wasn't recoverable anymore. But now, Alexandre Alapetite made a new attempt and published his domxml-php4-to-php5.php script. Looks very useful, but be aware that the license forbids use in

commercial work.. Besides that, the class would also be a good addition to PEAR along PHP_Compat, IMHO ;)