how to serialize a XML::DOM object

Hong Yan <[email protected]>
Newsgroups gmane.comp.windows.devel.soap.general
Message-ID <[email protected]>
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?


Thanks

You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other
DevelopMentor lists at http://discuss.develop.com.
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.