Convert XML Doc Object to String

 

function convert_xml_to_string(xmlObject){  
    if (window.ActiveXObject) { // for IE  
        return xmlObject.xml;  
    } else {  
        return (new XMLSerializer()).serializeToString(xmlObject);  
    }  
}

3 thoughts on “Convert XML Doc Object to String

  1. Jenny Farmer

    Hi there, just was alert to your blog through Google, and located that it’s truly informative. I’m gonna be careful for brussels. I will be grateful when you proceed this in future. Lots of people will be benefited out of your writing. Cheers!

  2. william

    I do trust all the concepts you’ve presented to your post. They’re really convincing and can definitely work.

    Still, the posts are too quick for starters. May you please extend them
    a little from subsequent time? Thank you for the post.

Comments are closed.