>From the http://pecl.php.net/package/domxml page: NOTE: if you're running PHP 4.x, the domxml is already part of the distribution. It seems to me the Extension should be installed already. On 1/9/06 7:41 AM, "Jochem Maas" <jochem@xxxxxxxxxxxxx> wrote: > Ted Zeng wrote: >> Hi, >> >> I use OS X tiger which has a PHP v4.3.12 installed. > > any reason to be using an old version of php? It comes with the OS. I already built a web app. With it. I am afraid to update to Php v5. In case it doesn't work, My app. Will stop working. Ted zeng > >> >> I would like to be able to generate xml files. >> >> But when I copied a php script from a tutorial and tried it, >> Php complaints that >> domxml_new_doc is undefined function >> >> How could that be? > > because ......... the function is undefined!!! > > read these pages: > > http://php.net/domxml_new_doc > http://php.net/manual/en/ref.domxml.php > > then figure out how to get the relevant extension buitl and > loaded. then (probably) decide that the xml functionality of php5 > is much much better and install that instead. > >> >> Ted zeng >> > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php