code: public void addAttribute(QName attribute) {
          Level current = path.getLast();
          current.attributes.put(attribute,
                                 new Level(ATTR + getName(attribute)));
      }
docs: Adds knowledge about a single attribute of the current node.