[xsl] Rename element

Subject: [xsl] Rename element
From: "shailesh" <shailesh@xxxxxxxxxxxx>
Date: Fri, 4 Nov 2005 18:40:38 +0530
Hi,

my input xml as:

<sample xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:noNamespaceSchemaLocation="Test1.xsd">
<sample1>
<p>ABCDEFGHIJKLMNOP<p>
<script lang="enu"/>
<script lang="enu1"/>
</sample1>
</sample>

Output should be:

<test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:noNamespaceSchemaLocation="Test1.xsd">
<sample1>
<p>ABCDEFGHIJKLMNOP<p>
<scriptin lang="enu"/>
<scriptin lang="enu1"/>
</sample1>
<test>

How do i change script to scriptin element.

Thanks,
Shailesh

Current Thread