/src/main/java/org/htmlunit/html/XmlSerializer.java
if ( child instanceof DomElement) {
if ( child instanceof DomText ) {
final String response = builder_.toString(); builder_.setLength(0); return response; } protected void printText(final DomNode node) { for (DomNode child = node.getFirstChild(); child != null; child = child.getNextSibling()) { <extra_id_0> builder_.append(((DomText) child).getData()); } else { printText(child); } }