Hi Darth, Use the Xstream library,http://xstream.codehaus.org/ its a library that serialises objects to xml and back from xml. use the toXML method and pass it the object.
On Fri, Aug 19, 2011 at 6:42 PM, DarthG <garyker...@gmail.com> wrote: > Part of my application requires an XML file to be generated from an > object. The XML produced will be small in size and simple in > structure. I could achieve this using elaborate string manipulation > but I suspect there is a better way. > > I tried to use the xmlenc (http://xmlenc.sourceforge.net/) library, > but it requires Writer objects to function, which GWT does not > support. Is there an accepted way of XML generation for GWT? Or > perhaps a way to synthesise Writer objects? Initially, I want the XML > output on the console for testing, but eventually it will be stored on > a server/database. > > Thanks, > Gary > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Gibson Wasukira Making Technology a Business Asset www.gwasky.wordpress.com www.thegrid.ug -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.