public Attribute(String nsAlias,String name,String value){
  if (nsAlias == null) {
    int separator=name.indexOf(':');
    if (separator > 0) {
      nsAlias=name.substring(0,separator);
      name=name.substring(separator + 1);
    }
  }
  this.nsAlias=nsAlias;
  this.name=name;
  this.value=value;
}

public Attribute ( String nsAlias , String name , String value ) { if ( nsAlias == null ) { int separator = name . indexOf ( ':' ) ; if ( separator > 0 ) { nsAlias = name . substring ( 0 , separator ) ; name = name . substring ( separator + 1 ) ; } } this . nsAlias = nsAlias ; this . name = name ; this . value = value ; }
constructs an namespace - qualified xml attribute .
