Extracts node contents from given node. All child-nodes will be removed from the given node.
node to extract node contents from
fragment containing all child nodes
Extracts node contents from given node. All child-nodes will be removed from the given node.