title: Check for empty XML element using XSLT
body: <p>I have the following XML</p>
  
  <pre><code>&lt;ns0:Root xmlns:ns0="http://Map_Sample.Input_Schema"&gt;
  &lt;Number1&gt;
  &lt;/Number1&gt;
  &lt;Number2&gt;11&lt;/Number2&gt;
  &lt;Number3&gt;12&lt;/Number3&gt;
  &lt;/ns0:Root&gt;
  </code></pre>
  
  <p>In this case I am getting <code>ENTER</code> or <code>\r\n</code> for <code>Number1</code>. I want to write some XSLT to check if a node contains <code>ENTER</code> or <code>\r\n</code> and then replace it <code>&lt;Number1 /&gt;</code>.</p>
  
  <p>Can anyone help me to write the XSLT for this?</p>