Skip to main content

xml

1 reply [Last post]
stanfordia
Offline
Joined: 2007-12-30
Points: 0

Hello,
I have a class , I want to parse this class to an XML file
I have add a methode parse that write simply in an xml file the fields in tags and their values
but it is more complicated to do the reverse ie get the class Instance from the XML file
do you have an idea or perhaps API but light because I must import that code on mobile also and I don't want heavy code
Thanks a lot

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
azlan95
Offline
Joined: 2003-09-17
Points: 0

Jaxb maybe ideal for this. Included with Java 6.

Azlan