/src/main/java/org/htmlunit/util/XmlUtils.java
return new DomText( page.getNodeValue( ) ) ;
return new DomText ( page, source.getNodeValue ( ) ) ;
parent.appendChild(childXml); copy(page, child, childXml, handleXHTMLAsHTML, attributesOrderMap); } private static DomNode createFrom(final SgmlPage page, final Node source, final boolean handleXHTMLAsHTML, final Map<Integer, List<String>> attributesOrderMap) { if (source.getNodeType() == Node.TEXT_NODE) { <extra_id_0> } if (source.getNodeType() == Node.PROCESSING_INSTRUCTION_NODE) { return new DomProcessingInstruction(page, source.getNodeName(), source.getNodeValue()); } if (source.getNodeType() == Node.COMMENT_NODE) { return new DomComment(page, source.getNodeValue());