Hi, I am involved on XML Programming since 98 and back in 99 (my first lecture on the topic) I was already wondering why someone was not able to provide a common framework to 'program' XML.
6 years later it seems that we still have to use different libraries for different needs, I moved to XMLBeans from Castor because I thought that XMLBean was more promising (notably the integration with xpath and that it keeps the original document, while probably Castor is better as doing customized and schemaless mapping) and I am still fighting integrating code using DOM with my XMLBean library, so I am simply wondering : is it not possible to have one framework (let's say XMLBean++) able to provide the solution (e.g integrating JAX*) , providing handy switch between the different programming model (so I can use it as a SAX(?)/DOM/JDOM provider and switch idiom when needed [I know it may not be so simple ...]) jc from > Your best choice is probably JiBX (http://www.jibx.org). JiBX is the > fastest XML data binding framework (https://bindmark.dev.java.net/), > and lets you work with existing classes. You can use the binding > generator from the tools subproject to generate a default binding from > your existing classes, then customize that if necessary to get exactly > what you want. > > If you have questions about JiBX, join up on the JiBX users mailing > list (http://sourceforge.net/mail/?group_id=69358) and send the > questions there. > > - Dennis > > Zhong ZHENG wrote: > >> Hi, >> >> Thanks for your advice. But the format of my XML file is already >> defined, although i did not create schemas. If necessary, i may >> create schema for my XML. 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? >> >> Regards. >> >> On 10/22/05, *Giedrius Trumpickas* <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> If you don't have schemas defined for your XML and have already >> existing beans use: >> >> http://xstream.codehaus.org/ >> >> Giedrius >> >> >> >> -- >> >> ZHENG Zhong >> >> 1 Avenue Alphand >> 75116 Paris, France >> +33 6 76 80 45 90 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Jean-Christophe Pazzaglia, PhD <[EMAIL PROTECTED]> Network Security Team Tel: (+33) 4-93-00-26-78 PGP Key available : http://www.eurecom.fr/~pazzagli/publickey.pgp -- Institut EurĂ©com - Office 029 http://www.eurecom.fr/ 2229 Route des CrĂȘtes BP 193 06904 Sophia Antipolis, France Fax: (+33) 4-93-00-26-27 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

