title: Remove all child nodes of a node
body: <p>I have a node of DOM document. How can I remove all of its child nodes? For example:</p>
  
  <pre><code>&lt;employee&gt; 
       &lt;one/&gt;
       &lt;two/&gt;
       &lt;three/&gt;
   &lt;/employee&gt;
  </code></pre>
  
  <p>Becomes:</p>
  
  <pre><code>   &lt;employee&gt;
     &lt;/employee&gt;
  </code></pre>
  
  <p>I want to remove all child nodes of <code>employee</code>.</p>