docs: function(node, uri, name) {
          var elements = [];
          if(node.getElementsByTagNameNS) {
              elements = node.getElementsByTagNameNS(uri, name);
          } else {
              // brute force method
              var allNodes = node.getElementsByTagName("*");
              var potentialNode, fullName;
              for(var i=0, len=allNodes.length; i<len; ++i) {
                  potentialNode = allNodes[i];
                  fullName = (potentialNode.prefix) ?
                             (potentialNode.prefix + ":" + name) : name;
                  if((name == "*") || (fullName == potentialNode.nodeName)) {
                      if((uri == "*") || (uri == potentialNode.namespaceURI)) {
                          elements.push(potentialNode);
                      }
                  }
              }
          }
          return elements;
      }