lib/utils/xml-utils.js
function setProtectedText(node, text) {
    if (text instanceof ProtectedValue) {
        node.protectedValue = text;
        node.setAttribute(XmlNames.Attr.Protected, 'True');
    } else {
        setText(node, text);
    }
}
function setProtectedText(node, text) {
    if (text instanceof ProtectedValue) {
        node.protectedValue = text;
        node.setAttribute(XmlNames.Attr.Protected, 'True');
    } else {
        setText(node, text);
    }
}
function setProtectedText ( node , text ) { if ( text instanceof ProtectedValue ) { node . protectedValue = text ; node . setAttribute ( XmlNames . Attr . Protected , 'True' ) ; } else { setText ( node , text ) ; } }
Sets node protected text
@param {Node} node
@param {ProtectedValue|string} text
Sets node protected text