code: function (separator) {
              var path, node;
              if (typeof separator === "undefined") {
                  /*  return path as object array  */
                  path = [];
                  for (node = this; node !== null; node = node.parent())
                      path.push(node);
              }
              else {
                  /*  return path as name string  */
                  path = "";
                  if (this.parent() === null)
                      path = separator;
                  else {
                      for (node = this; node.parent() !== null; node = node.parent())
                          path = separator + node.name() + path;
                  }
              }
              return path;
          }
docs: /*  method: path to (and including) node as either object array or name string