Re: serializing DomDocument objects.

From: Date: Fri, 26 Sep 2003 08:00:49 +0000
Subject: Re: serializing DomDocument objects.
References: 1  Groups: php.xml.dev 
Request: Send a blank email to php-xml-dev+get-206@lists.php.net to get a copy of this message
On 9/26/03 9:52 AM, neill wrote:
Hi all. I was just wondering why my attempts to serialize DomDocument objects have failed? Is this a bug, or am I doing something wrong?
what does serializing exactly mean for you? $serializedxml = $domdocument->saveXML(); should serialize it to a string.
I am also unable to save DomDocument's in session variables (not that I want to do that or anything, just testing). I get "Warning: Couldn't fetch domdocument in..." when i try to use the object after storing it.
not possible, never will be possible (AFAIK). chregu
I would like to be able to serialize DomDocument's to reduce the overhead of creating the DOM Tree for documents that are used often, with the aim of improving the speed of the framework I'm developing. I'm using the PHP5 Beta so what i'm saying may be fixed (if it's a bug in the first place that is) in CVS. Thanks for your cool work. riot.
-- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB

« previous php.xml.dev (#206) next »