Re: [PHP-XML-DEV] php5: ext/dom: unused namespace-definitions
[email protected] (Vivian Steller) Wed, 07 Apr 2004 16:47:27 +0200
| Newsgroups | php.xml.dev |
|---|---|
| Message-ID | <[email protected]> |
Rob Richards wrote: > From: "Vivian Steller" <[email protected]> > > Have no idea what you mean that it is removing the unused namespace. > > doc->loadXML($data) > print doc->saveXML() > > shows that the unused namespace still exists within the document. The load > does nothing special to the data other than to pass it on to libxml > > Rob SORRY, YOU'RE RIGHT, OF COURSE!! I always cloned the whole tree in my application and the clone-function did not recognize namespaces, thus not duplicated it into the new tree... Sorry for not really testing the code, before posting.. Thanks, anyway Vivi