Hi Stevo, have you already had a look at following parts of our docs?
http://castor.codehaus.org/reference/html/xml.code.generator.html#xml.code.generator.custom.bindings http://castor.codehaus.org/reference/html/xml.code.generator.html#xml.code.generator.custom.bindings.file.namingXML http://castor.codehaus.org/reference/html/xml.code.generator.html#d0e4780 Regards Ralf Stevo Slavić schrieb: > Hello castor users, > > Say one has two xsd's, each with its own namespace, and they have > multiple elements with same name. For tuning code generation one can > configure namespace-to-package binding in binding.xml. If each > namespace is bound to a different package, elements with same name > will result in classes with same name but within different packages. > If one uses these classes, with same name, within same class, one of > them will have to be referenced using full class name which is very ugly. > > I've looked but could not find a way to configure element-to-class > name binding which would be namespace aware, so that a different class > name can be configured for a given element name, depending on > namespace element belongs to. Did I miss something? > > > Regards, > Stevo. -- Syscon Ingenieurbüro für Meß- und Datentechnik GmbH Ralf Joachim Raiffeisenstraße 11 72127 Kusterdingen Germany Tel. +49 7071 3690 52 Mobil: +49 173 9630135 Fax +49 7071 3690 98 Internet: www.syscon.eu E-Mail: [email protected] Sitz der Gesellschaft: D-72127 Kusterdingen Registereintrag: Amtsgericht Stuttgart, HRB 382295 Geschäftsleitung: Jens Joachim, Ralf Joachim --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

