3
Answers

How to convert XML attribute to Element using C#?

Tamer Khalil

Tamer Khalil

15y
9.8k
1
I have a bulk XML file and I want to change the attributes of a certain node to an element. For instance
< book id=12 >
< author > Tamer < / author >
< / book >
I want it to be
< book >
< id > 12 < / id >
< author > Tamer < / author >
< / book >
Answers (3)