Zhong ZHENG wrote: > Hi there, > > I have a project that uses castor to do the xml-java data binding. I > am planning to migrate from castor to XMLBeans. What i need is to > marshall an XML file to java beans, and unmarshall java beans to an > XML file. The format of my XML files is quite simple, and i didn't use > schemas. The java beans are already coded and i do not want to use > generated classes.
Humm why do you want to use a JAXB alike toolkit then ???? These kind of tools should supposedly avoid you to code the bean ... (as a matter of fact from an eng. perspective, it seems quite odd not to have a formal spec of your format (schema, dtd ...)) >But i do not want to use XMLBeans-generated classes. So is it possible to do the data binding >by using my own java beans? You are not forced too, your beans simply have to support the interface generated by XMLBeans, did someone experimented in using another implementation that the implementation automatically generated ??? jc --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

