The first line of that page - " The DOM extension is the replacement for theDOM XML extension from PHP 4." makes me suspect that it may be a PHP 5 feature, and sure enough, a look in the changelog confirms this. php.net/ChangeLog-5.php#5.0.0b1 So if you are using php < 5.0, that would explain your error.
That was it. (php 4.3.1 something) Just downloaded 5.0.5 and it works fine now.
Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php