List of usage examples for org.w3c.dom Comment getLength
public int getLength();
data
and the substringData
method below. From source file:TreeDumper2.java
private void dumpCommentNode(Comment node, String indent) { System.out.println(indent + "COMMENT length=" + node.getLength()); System.out.println(indent + " " + node.getData()); }