Would returning a org.w3c.dom.Element not work for you.
-----Original Message----- From: Vemuri, Vijay [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 5:07 PM To: '[EMAIL PROTECTED]' Subject: Serializer and Deserializer. Hi, Can anyone tell me how to use any other Deserializer other than the SimpleDeserializer ? And the code to do it ? I have a method which returns a String, but I want to use a different Deserializer than the SimpleDeserializer. Can you suggest a Deserializer for a String (which is actually an XML document with nested tags ?) Because SimpleDeserializer craps out on this String ! Thanks in advance. Vijay.