We need the inverse function $.parseXML - I read it XML .

Now you need to write a new structure to pass to this call:

 new XMLSerializer().serializeToString(Xml_2) 

    1 answer 1

    sequence call: childNodes createElement textContent or setAttribute appendChild