code: public static String encodeAttributeValue(String value)
  	{
  		String _result = value.replaceAll(PATTERN__CHAR_AMPERSAND, VALUE__ENTITY_AMPERSAND);
  		_result = _result.replaceAll(PATTERN__CHAR_QUOTE, VALUE__ENTITY_QUOTE);
  		return _result;
  	}
docs: Convert special chars so that it is legal as an attribute value.
  
  @param value
  the value to convert.
  @return the coded value.