Creating a XML Document from Objects.Is it possible?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ajay_luthria
Posted On:   Tuesday, August 20, 2002 09:04 AM

Hello

I have created 10 objects and now would like to create
an XML document from these object.


Is it possible.?


I intend using Castor,but as I am coding in MIDP
thats a huge file to import.


How can I create an XML Document from the objects?



Ajay

Re: Creating a XML Document from Objects.Is it possible?

Posted By:   Lasse_Koskela  
Posted On:   Tuesday, August 20, 2002 02:24 PM

As you're coding with J2ME, using a full-blown Object-to-XML translator would probably be an overkill for the handset, you're right about that.


So, you have to write your own logic for generating the XML. It's really not too difficult if the objects you're talking about aren't too packed with references...


Have you checked the kXML project (XML for small footprint)?

About | Sitemap | Contact