The same way XMLEncoder in JDK 1.4... The output format is not very "user-friendly" but if you only want to persist your beans...
On Thu, 13 Feb 2003, Hirschmann, Bernhard wrote: } } Vikas, we use the jar from wwww.jdom.org to create JDOM objects firstly as } representatives of the beans. They can then be transformed to a XML string } with the XMLOutputter class, if this is what you want. } } Regards, } Bernhard } } -----Ursprüngliche Nachricht----- } Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] } Gesendet: Donnerstag, 13. Februar 2003 19:18 } An: [EMAIL PROTECTED] } Betreff: Generate XML documents from Beans } } } Can anyone throw some pointers on ways XML documents can be } generated from java components - beans or a collection of } beans? } } What API can be used? } } Thanks, } } Vikas } } --------------------------------------------------------------------- } To unsubscribe, e-mail: [EMAIL PROTECTED] } For additional commands, e-mail: [EMAIL PROTECTED] } } --------------------------------------------------------------------- } To unsubscribe, e-mail: [EMAIL PROTECTED] } For additional commands, e-mail: [EMAIL PROTECTED] } ------------------------------------------------------------------------ Guido Garcia Bernardo [EMAIL PROTECTED] [EMAIL PROTECTED] "stat rosa pristina nomine, nomina nuda tenemus." ------------------------------------------------------------------------ http://members.ud.com/services/teams/team.htm?id=D8624419-BFB6-4772-A01A-0045631F979F --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]