This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Why would u want to do that ? If You need teh conents of the document, I think teh only way to do it is is parse teh document and write it in a String buffer and then call toString() on that String buffer !!! I am not sure about any utility method that would convert the Document objects contents into a String directly !!! And if converting to a string was not for this purpose, please do state specifically the requirement for converting the document obj to a string hope this helps hari