title: How to remove looping elements using XSLT Transformations where some tag have no values
body: <pre><code> &lt;DETAILS&gt;
       &lt;PUT&gt;
          &lt;RECORD&gt;ABC_PQRST0123456-001_1&lt;/RECORD&gt; 
          &lt;NUMBER&gt;4&lt;/NUMBER&gt;
          &lt;INST&gt;1,2&lt;/INST&gt;
        &lt;/PUT&gt;
        &lt;PUT&gt;
          &lt;RECORD&gt;ABC_PQRST0123456-001_2&lt;/RECORD&gt;
          &lt;NUMBER&gt;1&lt;/NUMBER&gt;
       &lt;/PUT&gt;
     &lt;/DETAILS&gt;
  </code></pre>
  
  <p>How to remove the other loop elements from where INST don't have values.Can someone help me with xslt Transformation code to sort this</p>
  
  <pre><code>&lt;PUT&gt;
      &lt;RECORD&gt;ABC_PQRST0123456-001_2&lt;/RECORD&gt;
      &lt;NUMBER&gt;1&lt;/NUMBER&gt;
    &lt;/PUT&gt;
  </code></pre>