Re: [PHP-XML-DEV] serializing DomDocument objects.

[email protected] (neill)
Newsgroups php.xml.dev
Message-ID <[email protected]>
On Fri, 26 Sep 2003 13:04:02 +0200, Derick Rethans wrote:

> On Fri, 26 Sep 2003, neill wrote:
> 
>> say i use saveXML(), and save the "serialized form of my DomDocument" to
>> a file. if i then load this XML into a DomDocument object (correct me if
>> i'm wrong) the "internal tree" would still have to be recreated.
> 
> That needs to be done anyway, even if you php_serialize it.

really? that's weird. i thought serialize() would save the properties
(ie the Tree) of the object just like it does with other objects.

that cleared that up.

thanks.

-- 



riot.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.