Santhosh ayiappan wrote:Execute the code and share the output/errors if any....
Santhosh ayiappan wrote:Below is the method that would return the String by taking the Document object as input.
Regards
Santhosh
Santhosh ayiappan wrote:You cant directly print the Document object. You have to use StringWriter to convert it to String.
Regards
Santhosh