void copyAttributesTo(CSSElement dest){
  for (int i=0; i < attrVals.length; i++) {
    dest.attrVals[i]=attrVals[i];
  }
  Hashtable attributes=getAttributes();
  if (attributes != null) {
    for (Enumeration e=attributes.keys(); e.hasMoreElements(); ) {
      Integer key=(Integer)e.nextElement();
      String value=(String)attributes.get(key);
      dest.setAttribute(key,value);
    }
  }
}

void copyAttributesTo ( CSSElement dest ) { for ( int i = 0 ; i < attrVals . length ; i ++ ) { dest . attrVals [ i ] = attrVals [ i ] ; } Hashtable attributes = getAttributes ( ) ; if ( attributes != null ) { for ( Enumeration e = attributes . keys ( ) ; e . hasMoreElements ( ) ; ) { Integer key = ( Integer ) e . nextElement ( ) ; String value = ( String ) attributes . get ( key ) ; dest . setAttribute ( key , value ) ; } } }
copies all properties , both string and numeric values to the destination element this is used for grouped selectors
