# domxml

- Thread: https://externals.io/message/2310
- Original archive: https://news-web.php.net/php.internals/2310
- Started by Kevin Waterson on 2003-06-13T08:55:56+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #2310 — Kevin Waterson — 2003-06-13T08:55:56+00:00

URL: https://externals.io/message/2310#2310

Ok, lets give it a shot.

I am trying to get some of the new domxml stuff to happen
with tragic results.

// no problem here..
$xmldoc = domxml_new_xmldoc('1.0');

I used to use add_root() but this would seem to have been replaced by
domxml_doc_add_root() which takes two arguements, are they like ..
$this->xmlroot= domxml_doc_add_root($xmldoc, $root = "root");

or something other.

Kind regards
Kevin


-- 
 ______                              
(_____ \                             
 _____) )  ____   ____   ____   ____ 
|  ____/  / _  ) / _  | / ___) / _  )
| |      ( (/ / ( ( | |( (___ ( (/ / 
|_|       \____) \_||_| \____) \____)
Kevin Waterson
Port Macquarie, Australia
