public boolean addAttributeAlways(String uri,String localName,String rawName,String type,String value,boolean XSLAttribute){
  boolean was_added;
  int index;
  if (localName == null || uri == null || uri.length() == 0)   index=m_attributes.getIndex(rawName);
 else {
    index=m_attributes.getIndex(uri,localName);
  }
  if (index >= 0) {
    m_attributes.setValue(index,value);
    was_added=false;
  }
 else {
    m_attributes.addAttribute(uri,localName,rawName,type,value);
    was_added=true;
  }
  return was_added;
}

public boolean addAttributeAlways ( String uri , String localName , String rawName , String type , String value , boolean XSLAttribute ) { boolean was_added ; int index ; if ( localName == null || uri == null || uri . length ( ) == 0 ) index = m_attributes . getIndex ( rawName ) ; else { index = m_attributes . getIndex ( uri , localName ) ; } if ( index >= 0 ) { m_attributes . setValue ( index , value ) ; was_added = false ; } else { m_attributes . addAttribute ( uri , localName , rawName , type , value ) ; was_added = true ; } return was_added ; }
adds the given attribute to the set of attributes , even if there is no currently open element . this is useful if a sax startprefixmapping ( ) should need to add an attribute before the element name is seen .
