Return to Snippet

Revision: 63234
at April 18, 2013 00:23 by juanmiguelrua


Updated Code
function xmlToString(xmlObj) {
    if (navigator.appName == "Netscape")
    {
       return (new XMLSerializer()).serializeToString(xmlObj);
    }
    if (navigator.appName == "Microsoft Internet Explorer")
    {
        return xmlObj.xml;
    }
}

Revision: 63233
at April 18, 2013 00:21 by juanmiguelrua


Initial Code
function xmlToString(xmlObj) { 2 if (navigator.appName == "Netscape") 3 { 4 return (new XMLSerializer()).serializeToString(xmlObj); 5 } 6 if (navigator.appName == "Microsoft Internet Explorer") 7 { 8 return xmlObj.xml; 9 } 10 }

Initial URL

                                

Initial Description
Convierte de objeto xml a string

Initial Title
from xml to String

Initial Tags

                                

Initial Language
JavaScript