Re: php5: ext/dom: unused namespace-definitions
| From: | Vivian Steller | Date: | Wed, 07 Apr 2004 14:47:27 +0000 |
| Subject: | Re: php5: ext/dom: unused namespace-definitions | ||
| References: | 1 2 | Groups: | php.xml.dev |
| Request: | Send a blank email to php-xml-dev+get-360@lists.php.net to get a copy of this message | ||
Rob Richards wrote:
> From: "Vivian Steller" <news@eecoo.de>
>
> 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