Asaf,
Take a look at
XmlBeans.compileXsd([...]) and
XmlBeans.compileXmlBeans([...]) to also generate the Java source files. If you
do that, you will then need to compile and load the Java classes yourself (we
don't offer support for that because it is dependent on your execution
framework and not really XML-related).
You'll find more details by consulting the JavaDoc for the two methods and
doing a search on the mailing list, the topic has come up before.
Radu
________________________________
From: Asaf Lahav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2008 3:54 AM
To: [email protected]
Subject: How to generate XmlBeans jar using API instead of SCOMP?
Is it possible to generate an XmlBeans jar out of a schema using
XmlBeans API instead of using SCOMP?
Thanks in advance,
Asaf