torsdag 05 februari 2004 02:50 skrev du: > In you original problem couldn't you have just done > > public Element createXml() { > return (Element) createXmlBase().addContent(_ruleName.toString()); > } Yes, but I don't like casting. It's ugly, error-prone and the cost at runtime is quite high (unlike C++). -- robin