Re: how to serialize a XML::DOM object
Eric Promislow <[email protected]>
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Message-ID | <SOAP%[email protected]> |
A better solution: my $serializedData = $doc->toString; On Wed, 14 Aug 2002 08:40:24 -0700, Hong Yan <[email protected]> wrote: >Hi, > >I donot know what is the right way to serialize the XML::DOM object using >SOAP::Lite. > >I tried the following way: > > my $parser = XML::DOM::Parse->new(); > my $doc = $parser->parse( $stringXML ); > > // to serialize > freeze ($doc) > > // to deserialize > thaw ($doc ) > >Anyone has a better solution? You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other DevelopMentor lists at http://discuss.develop.com.