* @param element
   * @return XmlLocalAttribute
   */
  public static XmlLocalAttribute makeXmlLocalAttribute(String name, XmlElement element) {
    { KeyValueList dictionary = element.elementDictionary;
      XmlAttribute attribute = ((XmlAttribute)(dictionary.lookup(StringWrapper.wrapString(name))));

      if (attribute == null) {
        { XmlLocalAttribute self000 = XmlLocalAttribute.newXmlLocalAttribute();

          self000.name = name;
          self000.parentElement = element;
          self000.surfaceForm = name;
          attribute = self000;
        }
        element.elementDictionary.insertAt(StringWrapper.wrapString(name), attribute);
      }
      return (((XmlLocalAttribute)(attribute)));
    }
  }