248249250251252253254255256257258
return; } for (Node n = from; n != toExcl && n != null;) { Node r = n; n = n.getNextSibling(); r.removeFromParent(); } } /** * Remove all children from an element