Tamer Khalil

Tamer Khalil

  • NA
  • 645
  • 208.3k

How to convert XML attribute to Element using C#?

Sep 10 2009 4:08 PM
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)