elem = (ElemLiteralResult)classObject.newInstance();
if(isExtension) {  elem = new ElemExtensionCall(); } else elem = (ElemLiteralResult)classObject.newInstance();
  public void startElement (StylesheetHandler handler,                             String uri, String localName,                            String rawName, Attributes attributes)    throws SAXException  {    XSLTElementDef def = getElemDef();    Class classObject = def.getClassObject();        ElemLiteralResult elem = null;    try    {      elem = (ElemLiteralResult)classObject.newInstance();      elem.setLocaterInfo(handler.getLocator());      elem.setPrefixes(handler.getNamespaceSupport());      elem.setNamespace(uri);      elem.setLocalName(localName);      elem.setRawName(rawName);    }    catch(InstantiationException ie)    {      handler.error("Failed creating ElemLiteralResult instance!", ie);    }    catch(IllegalAccessException iae)    {      handler.error("Failed creating ElemLiteralResult instance!", iae);    }        setPropertiesFromAttributes(handler, rawName, attributes, elem);        appendAndPush(handler, elem);  }