/src/main/java/org/htmlunit/html/impl/SimpleRange.java
newParent.appendChild( extractContents( ) ) ;fragment.appendChild( ancestorClone) ;
fragment.appendChild ( ancestorClone ) ;
n.getPreviousSibling().remove(); } } final SgmlPage page = ancestor.getPage(); final DomDocumentFragment fragment = new DomDocumentFragment(page); if (start == end) { <extra_id_0> } else { for (final DomNode n : ancestorClone.getChildNodes()) { fragment.appendChild(n); } }