title: Extract a subset of XML file using XSL
body: <p>I have this XML file:</p>
  
  <pre><code>&lt;Response&gt;
      &lt;errorCode&gt;error Code&lt;/errorCode&gt;
      &lt;errorMessage&gt;msg&lt;/errorMessage&gt;
      &lt;ResponseParameters&gt;
          &lt;className&gt;
              &lt;attribute1&gt;a&lt;/attribute1&gt;
              &lt;attribute2&gt;b&lt;/attribute2&gt;
          &lt;/className&gt;
      &lt;/ResponseParameters&gt;
  &lt;/Response&gt;
  </code></pre>
  
  <p>And I want the output to be:</p>
  
  <pre><code>&lt;className&gt;
      &lt;attribute1&gt;a&lt;/attribute1&gt;
      &lt;attribute2&gt;b&lt;/attribute2&gt;
  &lt;/className&gt;
  </code></pre>
  
  <p>My current XSL file is including also "ResponseParameters" tag, which I do not want.</p>
  
  <p><strong>EDIT: note that the node className is dynamic. I do not know what will be this name at runtime.</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  
  &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0"&gt;
  
      &lt;xsl:output indent="yes" /&gt;
  
      &lt;xsl:template match="/"&gt;
          &lt;xsl:copy-of select="//ResponseParameters"&gt;
          &lt;/xsl:copy-of&gt;
      &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>