docs: function(node, type) {
  
          //split type
          var subType = type;
          var splitIndex = subType.indexOf(":");
          if (splitIndex != -1) {
              subType = subType.substr(splitIndex+1);
          }
  
          //split nodeName
          var nodeName = node.nodeName;
          splitIndex = nodeName.indexOf(":");
          if (splitIndex != -1) {
              nodeName = nodeName.substr(splitIndex+1);
          }
  
          return (subType == nodeName);
      }