| Author |
JAXB List iterator
|
Channy
Greenhorn
Joined: Nov 18, 2002
Posts: 13
|
|
I'm having a problem hopefully someone can help me out. I have my xml file: My problems is that when I unmarshall the xml file, I use : Which is fine, and gives me all my Links, then I use another for loop to get all my images. What I want to do is print out the objects as they appear in the xml file. Can I have some sort of if next is image, if next is link? Something like that? Thanks for the help.
|
 |
prashanth nagaraj
Ranch Hand
Joined: Mar 11, 2002
Posts: 43
|
|
|
you can try if(image!=null) or (link!=null) before going to the corresponding links
|
regards,<br />prashanth nagaraj
|
 |
 |
|
|
subject: JAXB List iterator
|
|
|