I am parsing a XML file in Java using the W3C DOM. I am stuck at a specific problem, I can\'t figure out how to get the whole inner XML of a node.
The node looks lik
node.getTextContent();
You ought to be using JDom of Dom4J to handle nodes, if for no other reasons, to handle whitespace correctly.