Thursday, 15 July 2010

java - Reading an XML File, storing its contents -


I am currently working on a portlet, I basically get stuck on a small part where I have an XML The file is to read which will be a bunch of items in the same format:

    

I was wondering what was the best way to do this. I need to get each of these items and store them in the list so that I can display them later.

Do anyone have any recommendations? Thanks in advance!

Just create an object object and by adding jaxb annotation you can write a martial (written), unmanned (read) xml file

No comments:

Post a Comment