lib/utils/xml-utils.js
function unprotectValues(node) {
    traverse(node, function(node) {
        if (strToBoolean(node.getAttribute(XmlNames.Attr.Protected)) && node.protectedValue) {
            node.removeAttribute(XmlNames.Attr.Protected);
            node.setAttribute(XmlNames.Attr.ProtectedInMemPlainXml, 'True');
            node.textContent = node.protectedValue.getText();
        }
    });
}
function unprotectValues(node) {
    traverse(node, function(node) {
        if (strToBoolean(node.getAttribute(XmlNames.Attr.Protected)) && node.protectedValue) {
            node.removeAttribute(XmlNames.Attr.Protected);
            node.setAttribute(XmlNames.Attr.ProtectedInMemPlainXml, 'True');
            node.textContent = node.protectedValue.getText();
        }
    });
}
function unprotectValues ( node ) { traverse ( node , function ( node ) { if ( strToBoolean ( node . getAttribute ( XmlNames . Attr . Protected ) ) && node . protectedValue ) { node . removeAttribute ( XmlNames . Attr . Protected ) ; node . setAttribute ( XmlNames . Attr . ProtectedInMemPlainXml , 'True' ) ; node . textContent = node . protectedValue . getText ( ) ; } } ) ; }
Unprotect protected values for all nodes in tree which have protected values assigned
@param {Node} node
Unprotect protected values for all nodes in tree which have protected values assigned