XSLT transformation and CDATA
<p>I have to transform my input xml using XSLT.
It contains, CDATA and I need to extract elements from CDATA and then I have to rename the tag.</p>

<p>Below is my input xml :</p>

<pre><code> &lt;getArtifactContentResponse&gt;
        &lt;return&gt;
             &lt;![CDATA[
       &lt;metadata&gt;
        &lt;overview&gt;        
            &lt;name&gt;scannapp&lt;/name&gt;
            &lt;developerId&gt;developer702&lt;/developerId&gt;
            &lt;stateId&gt;2&lt;/stateId&gt;
            &lt;serverURL&gt;dddd&lt;/serverURL&gt;
            &lt;id&gt;cspapp1103&lt;/id&gt;
            &lt;description&gt;scann doc&lt;/description&gt;
            &lt;hostingTypeId&gt;1&lt;/hostingTypeId&gt;
     &lt;/overview&gt;
    &lt;/metadata&gt;
      ]]&gt;
      &lt;/return&gt;
    &lt;/getArtifactContentResponse&gt; 
</code></pre>

<p>And the expected output is :</p>

<pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
   &lt;metadata &gt;
    &lt;information&gt;        
        &lt;name&gt;scannapp&lt;/name&gt;
        &lt;developerId&gt;developer702&lt;/developerId&gt;
        &lt;stateId&gt;2&lt;/stateId&gt;
        &lt;serverURL&gt;ddddd&lt;/serverURL&gt;
        &lt;id&gt;cspapp1103&lt;/id&gt;
        &lt;description&gt;scann doc&lt;/description&gt;
        &lt;hostingTypeId&gt;1&lt;/hostingTypeId&gt;        
    &lt;/Information&gt;
&lt;/metadata&gt;
</code></pre>

<p>XSLT I am using is below :</p>

<pre><code>&lt;xsl:output method="xml" version="1.0" encoding="UTF-8" /&gt;
&lt;xsl:template match="/"&gt;
    &lt;xsl:value-of select="//ns:getArtifactContentResponse/ns:return/text()" disable-output-escaping="yes"/&gt;
&lt;/xsl:template&gt;


&lt;xsl:template match="overview"&gt;
     &lt;Information&gt;
            &lt;xsl:apply-templates select="@* | node()" /&gt;
    &lt;/Information&gt;
&lt;/xsl:template&gt;
</code></pre>

<p></p>

<p>With this I am able to exrtact the CDATA but it is not renaming the element 'overview' to 'Information' .</p>

<p>Transformed xml is below :</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;

   &lt;metadata&gt;
    &lt;overview&gt;        
        &lt;name&gt;scannapp&lt;/name&gt;
        &lt;developerId&gt;developer702&lt;/developerId&gt;
        &lt;stateId&gt;2&lt;/stateId&gt;
        &lt;serverURL&gt;dddddd&lt;/serverURL&gt;
        &lt;id&gt;cspapp1103&lt;/id&gt;
        &lt;description&gt;scann doc&lt;/description&gt;
        &lt;hostingTypeId&gt;1&lt;/hostingTypeId&gt;        
    &lt;/overview&gt;
&lt;/metadata&gt;
</code></pre>

<p>Can someone tell me how I can rename the tag after extracting the CDATA? 
I don't understand what I am missing here?</p>

<p>Thanks in Advance</p>