title: how to extract entire xml element from xml document
body: <p>all the examples about parsing xml elements/nodes, that i've found, are about how to extract node attributes/values etc from xml document.</p>
  
  <p>Im interested on how should i extract an entire element from opening tag to closing tag.
  Example:
  from xml document</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
      &lt;Employees&gt;
          &lt;Employee emplid="1111" type="admin"/&gt;
      &lt;/Employees&gt;
  </code></pre>
  
  <p>i would get the complete element</p>
  
  <pre><code>&lt;Employee emplid="1111" type="admin"/&gt;
  </code></pre>
  
  <p>to saving it in a String variable</p>
  
  <p>Thanks in advance</p>