Tuesday, 17 February 2015

read xml and get data from it in java



I'm very new to java. Ive got an xml file with three type of data : "NAME", "FIRSTNAME" and "PHONEM". I try to get a JUnit test before create the final program and i want to read data from xml file (i use mkyong dom parser) and want to put them into aray of objects and after i want to make a class wich do getNameFirstName = "Name"+""+"FIRSTNAME" and wich compare to "PHONEM" after this in java. I dont want full code, only some help for starting.


Sorry for my english and thanks for help in advance.


No comments:

Post a Comment