P
Peter the Swede
I have an XML-file that contains of elements and subelements. How do I
convert the XML-file to an JDOM Element-tree?
The XML can look like this:
<PERSON>
<NAME>Peter</NAME>
<AGE>23</AGE>
</PERSON>
What I want is to be able to get Peter and 23 out of this XML-file.
Preferably by first converting it to an Element and then use the Element to
get the values.
Cheers, Peter
convert the XML-file to an JDOM Element-tree?
The XML can look like this:
<PERSON>
<NAME>Peter</NAME>
<AGE>23</AGE>
</PERSON>
What I want is to be able to get Peter and 23 out of this XML-file.
Preferably by first converting it to an Element and then use the Element to
get the values.
Cheers, Peter