code: public void addAttribute(final String _name, final String _value) {
          this.attributes.put(_name, new XmlNode() {
              {
                  this.name = _name;
                  this.value = _value;
                  this.valid = true;
                  this.type = XmlNode.ATTRIBUTE_NODE;
              }
          });
      }
docs: Adds the attribute
  
  @param _name
  the attribute name
  @param _value
  the attribute name