title: XSLT : Remove child nodes without repeating XPath
body: <p>I have the following XML:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;Transaction&gt;
      &lt;Product&gt;
          &lt;ProductRq&gt;
              &lt;ContactInfo&gt;
                  &lt;!-- several child elements --&gt;
              &lt;/ContactInfo&gt;
              &lt;OrderInfo&gt;
                  &lt;!-- several child elements --&gt;
              &lt;/OrderInfo&gt;
              &lt;ProductInfo&gt;
                  &lt;!-- several child elements --&gt;
              &lt;/ProductInfo&gt;
              &lt;AddressInfo&gt;
                  &lt;!-- several child elements --&gt;
              &lt;/AddressInfo&gt;
              &lt;AuditInfo&gt;
                  &lt;!-- several child elements --&gt;
              &lt;/AuditInfo&gt;
              &lt;DeliveryInfo&gt;
                  &lt;!-- several child elements --&gt;
              &lt;/DeliveryInfo&gt;
          &lt;/ProductRq&gt;
      &lt;/Product&gt;
  &lt;/Transaction&gt;
  </code></pre>
  
  <p>For sake of brevity I've left out several more children to the <code>&lt;ProductRq&gt;</code> tag, which contains 4 or 5 more child elements akin to <code>&lt;OrderInfo&gt;</code> and <code>&lt;CustomerInfo&gt;</code>, as well as the child nodes of the *Info elements.</p>
  
  <p>I need to remove the children of the elements like Order and <code>&lt;CustomerInfo&gt;</code> while retaining the *Info tag. Out of the 7 tags, around 4 are to be put through this process. I can't think of how to do this without repeating:</p>
  
  <pre><code>&lt;xsl:template match="Transcation/Product/ProductRq/&lt;tag name here&gt;/*" /&gt;
  </code></pre>
  
  <p>for each child of <code>&lt;ProductRq&gt;</code>. Is there a way to leverage the context node(<code>&lt;ProductRq&gt;</code>) and sort of loop through the children, removing their own child nodes aside from the above?</p>
  
  <p>EDIT:<br>
  I added the remaining child tags of <code>&lt;ProductRq&gt;</code>. All tags except <code>&lt;AuditInfo&gt;</code> and <code>&lt;ContactInfo&gt;</code> must have their child nodes removed.</p>