function (moreattrs)
    {
        for (var k in moreattrs) {
            if (moreattrs.hasOwnProperty(k)) {
                this.node.setAttribute(k, moreattrs[k]);
            }
        }
        return this;
    }
function (moreattrs)
    {
        for (var k in moreattrs) {
            if (moreattrs.hasOwnProperty(k)) {
                this.node.setAttribute(k, moreattrs[k]);
            }
        }
        return this;
    }
function ( moreattrs ) { for ( var k in moreattrs ) { if ( moreattrs . hasOwnProperty ( k ) ) { this . node . setAttribute ( k , moreattrs [ k ] ) ; } } return this ; }
Function: attrs
Add or modify attributes of the current element.

The attributes should be passed in object notation.  This function
does not move the current element pointer.

Parameters:
(Object) moreattrs - The attributes to add/modify in object notation.

Returns:
The Strophe.Builder object.
Function : attrs Add or modify attributes of the current element .
Returns a new node with the specified attributes.