Title: RE: dom to String

In addition, If you want to turn said XML string to a network of Java objects, take a look at castor: http://www.castor.org/

Chris Raber, Systems Engineer, AvantGo Inc.
http://www.avantgo.com/

-----Original Message-----
From: Raju Vaidya [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 5:43 AM
To: xalan user java
Subject: dom to String

Hi all,

I am new in using xalan.

I am using xalan-j for a corba project. i am sending 'xml' from client to
server and vice versa as String. therefore is it possible to convert dom
object to String using 'serializer' or something else. and is it possible to
converted this 'String' representing xml doc to dom?

i can save use SerializerFactory to dom object and save it to a file using
serializer.setOutputStream(new FileOutputStream("filename.xml"));
i can read the file and save it it string. it would be better if i can copy
to String directly.

I would be greatful if someone can help.

regards,
R.N. Vaidya

Reply via email to