private function deleteNode( $node ) {
		$this->deleteChildren( $node );
		$parent = $node->parentNode;
		$oldnode = $parent->removeChild( $node );
	}
private function deleteNode( $node ) {
		$this->deleteChildren( $node );
		$parent = $node->parentNode;
		$oldnode = $parent->removeChild( $node );
	}
private function deleteNode ( $ node ) { $ this -> deleteChildren ( $ node ) ; $ parent = $ node -> parentNode ; $ oldnode = $ parent -> removeChild ( $ node ) ; }
deletes a node and all of its children

@param \DOMNode $node
deletes a node and all of its children