docs: function(stanza)
      {
          var query_attrs = {xmlns: Strophe.NS.DISCO_ITEMS};
          var node = stanza.getElementsByTagName('query')[0].getAttribute('node');
          var items, i;
          if (node)
          {
              query_attrs.node = node;
              items = [];
              for (i = 0; i < this._items.length; i++)
              {
                  if (this._items[i].node == node)
                  {
                      items = this._items[i].call_back(stanza);
                      break;
                  }
              }
          }
          else
          {
              items = this._items;
          }
          var iqresult = this._buildIQResult(stanza, query_attrs);
          for (i = 0; i < items.length; i++)
          {
              var attrs = {jid:  items[i].jid};
              if (items[i].name)
                  attrs.name = items[i].name;
              if (items[i].node)
                  attrs.node = items[i].node;
              iqresult.c('item', attrs).up();
          }
          this._connection.send(iqresult.tree());
          return true;
      }