I have got a solution for this thread. I have posted it here:
How to parse an XML having same tag? - Java | DaniWeb
If any one tried different way using digester please update it here.
Type: Posts; User: 1bun100
I have got a solution for this thread. I have posted it here:
How to parse an XML having same tag? - Java | DaniWeb
If any one tried different way using digester please update it here.
How should I do if I don't want to use schema ?
If you know JAXB (using @xmlElement), can you help me.
I just need to know how to set those values to either Vector or Arraylist object using getter and setter methods.
Using Digester. I have already tried using other xml that have different tags.
Thanks for your quick reply.
I need to use either Vector or Arraylist to hold the values.
I am creating a class that have getter and setter methods for that value tag. But I don't know how to...
How to parse an xml having same tag as given below :
<number>
<value>12</value>
<value>14</value>
</number>
If it needs to use either Vector or ArrayList then please let me know how...