| Author |
DOM output to StringBuffer
|
Anjali S Sharma
Ranch Hand
Joined: Jun 29, 2005
Posts: 279
|
|
I am using following to write the contents of DOM object to console. Is there a way to write the contents of DOM object to StringBuffer instead of console
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14685
|
|
|
Hint : look at the various constructors for StreamOutput, and look at the StringWriter class.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Anjali S Sharma
Ranch Hand
Joined: Jun 29, 2005
Posts: 279
|
|
|
Thanks a lot
|
 |
 |
|
|
subject: DOM output to StringBuffer
|
|
|