function (dom, namespaceURI, qualifiedName, value) {
        /// <summary>Creates a new DOM attribute node.</summary>
        /// <param name="dom">DOM document used to create the attribute.</param>
        /// <param name="prefix" type="String">Namespace prefix.</param>
        /// <param name="namespaceURI" type="String">Namespace URI.</param>
        /// <returns>DOM attribute node for the namespace declaration.</returns>

        // ##### BEGIN: MODIFIED BY SAP
        // added usage of _createAttributeNS as fallback (see function above)
        var attribute =
            dom.createAttributeNS && dom.createAttributeNS(namespaceURI, qualifiedName) ||
            "createNode" in dom && dom.createNode(2, qualifiedName, namespaceURI || undefined) ||
            _createAttributeNS(namespaceURI, qualifiedName);
        // ##### END: MODIFIED BY SAP

        attribute.value = value || "";
        return attribute;
    }
function (dom, namespaceURI, qualifiedName, value) {
        /// <summary>Creates a new DOM attribute node.</summary>
        /// <param name="dom">DOM document used to create the attribute.</param>
        /// <param name="prefix" type="String">Namespace prefix.</param>
        /// <param name="namespaceURI" type="String">Namespace URI.</param>
        /// <returns>DOM attribute node for the namespace declaration.</returns>

        // ##### BEGIN: MODIFIED BY SAP
        // added usage of _createAttributeNS as fallback (see function above)
        var attribute =
            dom.createAttributeNS && dom.createAttributeNS(namespaceURI, qualifiedName) ||
            "createNode" in dom && dom.createNode(2, qualifiedName, namespaceURI || undefined) ||
            _createAttributeNS(namespaceURI, qualifiedName);
        // ##### END: MODIFIED BY SAP

        attribute.value = value || "";
        return attribute;
    }
function ( dom , namespaceURI , qualifiedName , value ) { /// <summary>Creates a new DOM attribute node.</summary> /// <param name="dom">DOM document used to create the attribute.</param> /// <param name="prefix" type="String">Namespace prefix.</param> /// <param name="namespaceURI" type="String">Namespace URI.</param> /// <returns>DOM attribute node for the namespace declaration.</returns> // ##### BEGIN: MODIFIED BY SAP // added usage of _createAttributeNS as fallback (see function above) var attribute = dom . createAttributeNS && dom . createAttributeNS ( namespaceURI , qualifiedName ) || "createNode" in dom && dom . createNode ( 2 , qualifiedName , namespaceURI || undefined ) || _createAttributeNS ( namespaceURI , qualifiedName ) ; // ##### END: MODIFIED BY SAP attribute . value = value || "" ; return attribute ; }
##### END: MODIFIED BY SAP
##### END : MODIFIED BY SAP
Creates an attribute node for the given namespace declaration.