Hi, I am going to create an xml element in javascript to exchange data with server side. I found I can do it with document.createElement.But I do not know how to convert it to string. Is there any API in browser to make it easier? Or is there any js lib incudling this API?
Thanks in advance.
//Modification
I found that browser API XMLSerializer, it should be the right way to serialize to string.