Report question

Question: Is there a more elegant way to convert an XML Document to a String in Java than this code?