How to convert XML attribute to Element using C#?
                            
                         
                        
                     
                 
                
                    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 >