docs: function(stanza, query_attrs)
      {
          var id   =  stanza.getAttribute('id');
          var from = stanza.getAttribute('from');
          var iqresult = $iq({type: 'result', id: id});
  
          if (from !== null) {
              iqresult.attrs({to: from});
          }
  
          return iqresult.c('query', query_attrs);
      }