public static AttribKey forAttribute(Namespaces inScope,ElKey el,String qname){
  Namespaces ns;
  String localName;
  int colon=qname.indexOf(':');
  if (colon < 0) {
    ns=el.ns;
    localName=qname;
  }
 else {
    ns=inScope.forAttrName(el.ns,qname);
    if (ns == null) {
      return null;
    }
    ns=inScope.forUri(ns.uri);
    localName=qname.substring(colon + 1);
  }
  return new AttribKey(el,ns,localName);
}

public static AttribKey forAttribute ( Namespaces inScope , ElKey el , String qname ) { Namespaces ns ; String localName ; int colon = qname . indexOf ( ':' ) ; if ( colon < 0 ) { ns = el . ns ; localName = qname ; } else { ns = inScope . forAttrName ( el . ns , qname ) ; if ( ns == null ) { return null ; } ns = inScope . forUri ( ns . uri ) ; localName = qname . substring ( colon + 1 ) ; } return new AttribKey ( el , ns , localName ) ; }
looks up an attribute key by qualified name .
