This is my first post in this forum, so Hi all!
Does anyone has experience with manipulating DOM XML with Javascript?
I would like to serialize a HTML node to a XML string using Javascript.
In Firefox browsers it’s pretty easy. You just use the built-in XMLSerializer class:
var myNode = document.getElementById(‘properties’);
var xmlString = new XMLSerializer().serializeToString( myNode );
But what about the others browsers? I searched a lot and couldn’t find any information, even for Internet Explorer. I seems the other browsers lack a function like that one.
Does anyone has any experience with this ? Please help !
Thank you
Michael Scofield