code: Object processENUM(StylesheetHandler handler, String uri, String name,
                       String rawName, String value, ElemTemplateElement owner)
                       throws org.xml.sax.SAXException
    {
  
  	AVT avt = null;
  	if (getSupportsAVT()) {
  	    try
  	    {
  	      avt = new AVT(handler, uri, name, rawName, value, owner);
  	      
  	      // If this attribute used an avt, then we can't validate at this time.
  	      if (!avt.isSimple()) return avt;
  	    }
  	    catch (TransformerException te)
  	    {
  	      throw new org.xml.sax.SAXException(te);
  	    }
  	}    
  	
      int retVal = this.getEnum(value);
      
  	if (retVal == StringToIntTable.INVALID_KEY) 
      {
         StringBuffer enumNamesList = getListOfEnums();
         handleError(handler, XSLTErrorResources.INVALID_ENUM,new Object[]{name, value, enumNamesList.toString() },null);
         return null;
      }
  
  	if (getSupportsAVT()) return avt;
  	else return new Integer(retVal);	
  
    }
docs: Process an attribute string of type T_ENUM into a int value.
  
  @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  @param uri The Namespace URI, or an empty string.
  @param name The local name (without prefix), or empty string if not namespace processing.
  @param rawName The qualified name (with prefix).
  @param value non-null string that represents an enumerated value that is
  valid for this element.
  @param owner
  
  @return An Integer representation of the enumerated value if this attribute does not support
  AVT.  Otherwise, and AVT is returned.