Link to home
Start Free TrialLog in
Avatar of pattabi23in
pattabi23in

asked on

Add namespace prefix using XSL

I wanted to know whether it would be possible to apply namespace prefix to all the nodes within a given xml?

For example I want to convert the following xml
<head>
<child1>
</child1>
</head>

to:
<s:head xmlns:s="hello"><s:child1></s:child1></s:head>
ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pattabi23in
pattabi23in

ASKER

Thank you very much.