I have an org.w3c.dom.Element object passed into my method. I need to see the whole xml string including its child nodes (the whole object graph). I am looking
org.w3c.dom.Element
Try jcabi-xml with one liner:
String xml = new XMLDocument(element).toString();