dist/hawtio-utilities.js
function xmlNodeToString(xmlNode) {
        try {
            // Gecko- and Webkit-based browsers (Firefox, Chrome), Opera.
            return (new XMLSerializer()).serializeToString(xmlNode);
        }
        catch (e) {
            try {
                // Internet Explorer.
                return xmlNode.xml;
            }
            catch (e) {
                //Other browsers without XML Serializer
                console.log('WARNING: XMLSerializer not supported');
            }
        }
        return false;
    }
function xmlNodeToString(xmlNode) {
        try {
            // Gecko- and Webkit-based browsers (Firefox, Chrome), Opera.
            return (new XMLSerializer()).serializeToString(xmlNode);
        }
        catch (e) {
            try {
                // Internet Explorer.
                return xmlNode.xml;
            }
            catch (e) {
                //Other browsers without XML Serializer
                console.log('WARNING: XMLSerializer not supported');
            }
        }
        return false;
    }
function xmlNodeToString ( xmlNode ) { try { // Gecko- and Webkit-based browsers (Firefox, Chrome), Opera. return ( new XMLSerializer ( ) ) . serializeToString ( xmlNode ) ; } catch ( e ) { try { // Internet Explorer. return xmlNode . xml ; } catch ( e ) { //Other browsers without XML Serializer console . log ( 'WARNING: XMLSerializer not supported' ) ; } } return false ; }
Converts the given XML node to a string representation of the XML
@method xmlNodeToString
@for Core
@static
@param {Object} xmlNode
@return {Object}
Converts the given XML node to a string representation of the XML