function (name, attrs, text)
    {
        var child = Strophe.xmlElement(name, attrs, text);
        this.node.appendChild(child);
        if (!text) {
            this.node = child;
        }
        return this;
    }
function (name, attrs, text)
    {
        var child = Strophe.xmlElement(name, attrs, text);
        this.node.appendChild(child);
        if (!text) {
            this.node = child;
        }
        return this;
    }
function ( name , attrs , text ) { var child = Strophe . xmlElement ( name , attrs , text ) ; this . node . appendChild ( child ) ; if ( ! text ) { this . node = child ; } return this ; }
Function: c
Add a child to the current element and make it the new current
element.

This function moves the current element pointer to the child,
unless text is provided.  If you need to add another child, it
is necessary to use up() to go back to the parent in the tree.

Parameters:
(String) name - The name of the child.
(Object) attrs - The attributes of the child in object notation.
(String) text - The text to add to the child.

Returns:
The Strophe.Builder object.
Function : c Add a child to the current element and make it the new current element .
Creates a new tag with the specified name and attributes.