Hello, I need the (freshly compiled?) Java Class from a .xsd at runtime on-the-fly. Without creating java source code files or .jar files.
I tried org.apache.xmlbeans.XmlBeans.compileXsd() and org.apache.xmlbeans.XmlBeans.loadXsd() but I could not figure out how to spawn a Class from it. I tried to use the SchemaTypeSystem.getClassLoader() but this returns null always. I also tried SchemaType.getJavaClass() but somehow it does not work/I don't understand it/I don't know how to find the "root item Class" with it. Can you tell me: how do I get the Java Class of the "root item" within the .xsd at runtime (on-the-fly, without generating code files or .jar) ? regards! ali -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

