|
|
| Article: |
Configuring XMLBeans
|
| Subject: |
Generate Java Bean classes in a package |
| Date: |
2005-10-28 13:32:30 |
| From: |
dvohra09 |
|
|
|
Java bean classes may be generated in a specified package even when a namespace is not specified in the schema.
Define the .xsdconfig file as
<?xml version="1.0" encoding="UTF-8"?>
<xb:config
xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config">
<xb:namespace>
<xb:package>com.xmlbeans</xb:package>
</xb:namespace>
</xb:config> |
|