code: public Element setAttributesFrom(Element e)
      {
          attributes=e.attributes;
          attributeMap=(Hashtable)e.attributeMap.clone();
          return this;
      }
docs: Set attributes from another Element.
  @param e Element
  @return This Element