AW: Generate XML documents from Beans
Vikas, we use the jar from .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]
Re: AW: Generate XML documents from Beans
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 .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]
Re: AW: Generate XML documents from Beans
What is the value of org.xml.sax.driver ? And if I have to create an XML document using a web-interface, how can I do that? Original message Date: Thu, 13 Feb 2003 19:24:50 +0100 From: Hirschmann, Bernhard Bernhard.Hirschmann@t- systems.com Subject: AW: Generate XML documents from Beans To: 'Struts Users Mailing List' struts- [EMAIL PROTECTED] Vikas, we use the jar from .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: struts-user- [EMAIL PROTECTED] For additional commands, e-mail: struts-user- [EMAIL PROTECTED] - To unsubscribe, e-mail: struts-user- [EMAIL PROTECTED] For additional commands, e-mail: struts-user- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]