whole_func_string: function (xpath) {
          var me = this,
              parts = xpath.split('/'),
              regex = me.tagPathRegEx,
              i, n, m, count, tag, child,
              el = me.attachTo.document;
  
          el = (parts[0] == '~') ? el.body
                      : el.getElementById(parts[0].substring(1)); // remove '#'
  
          for (i = 1, n = parts.length; el && i < n; ++i) {
              m = regex.exec(parts[i]);
              count = m[2] ? parseInt(m[2], 10) : 1;
              tag = m[1].toUpperCase();
  
              for (child = el.firstChild; child; child = child.nextSibling) {
                  if (child.tagName == tag) {
                      if (count == 1) {
                          break;
                      }
                      --count;
                  }
              }
  
              el = child;
          }
  
          return el;
      }
func_code_string: function (xpath) {
          var me = this,
              parts = xpath.split('/'),
              regex = me.tagPathRegEx,
              i, n, m, count, tag, child,
              el = me.attachTo.document;
  
          el = (parts[0] == '~') ? el.body
                      : el.getElementById(parts[0].substring(1)); // remove '#'
  
          for (i = 1, n = parts.length; el && i < n; ++i) {
              m = regex.exec(parts[i]);
              count = m[2] ? parseInt(m[2], 10) : 1;
              tag = m[1].toUpperCase();
  
              for (child = el.firstChild; child; child = child.nextSibling) {
                  if (child.tagName == tag) {
                      if (count == 1) {
                          break;
                      }
                      --count;
                  }
              }
  
              el = child;
          }
  
          return el;
      }
func_documentation_string: Returns the element given is XPath-like description.
  @param {String} xpath The XPath-like description of the element.
  @return {HTMLElement}