Re: Generating XML

2011-08-22 Thread DarthG
Thank you both for your assistance. I will attempt to use the XStream library first, but the XML is not intended to to be parsed and objects re-built from it; rather the information will be used by another system. Thus, it depends how much I can customise the XStream output to suit the desired XML

Re: Generating XML

2011-08-20 Thread karim duran
Hi Gary, I understand that you want to do. From a java object, you want to produce XML representation. Ok, you have many framewoks that do this for you. The 2 solutions i propose to you : 1) Use a standard way ( good practice and a framework support ) Let see JAXB API on Oracle web site because

Re: Generating XML

2011-08-19 Thread Gibson
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