docs: function(node, def) {
          var value = def || "";
          if(node) {
              for(var child=node.firstChild; child; child=child.nextSibling) {
                  switch(child.nodeType) {
                      case 3: // text node
                      case 4: // cdata section
                          value += child.nodeValue;
                  }
              }
          }
          return value;
      }