Re: serializing DomDocument objects.
| From: | neill | Date: | Fri, 26 Sep 2003 11:16:32 +0000 |
| Subject: | Re: serializing DomDocument objects. | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.xml.dev |
| Request: | Send a blank email to php-xml-dev+get-217@lists.php.net to get a copy of this message | ||
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.