xsl-list
[Top] [All Lists]

Rename element

2005-11-04 06:10:38
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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>