I want a java application that uses two XML files, and prints out
I am looking for someone to create the following java application for me:
I have two XML files.
One of the files contains 19 addresses of people in the country Chile. The addresses are broken up into various parts (first name, last name, city, etc). All of the addresses are different in some way.
The other XML file is a template (not a schema).
I want the java application to "take in" or "read" both xml files, and then use the template to print out the 19 addresses in the proper format.
I have the answer, or "proper" format and you can see it. Your task is to take the addresses parts and make them print as wanted.
The concept is this: if there is any part of the address, it needs to be printed. Most addresses have a name, but other than that, they can differ in many ways. One address might be a business, another might be a government institution, etc etc.
All you have to do is for each address, if there is a component, it has to print in the logical place.
I want the application to assemble the parts of the address in the proper format, and I have and you have access to all the solutions so there is no wondering if you have done it properly.
I want it made so that if I added more addresses at a later time they would also print.
The project is not considered done until I can run the code on either NetBeans or Eclipse.
The two xml files are attached. The file with the 19 addresses is easier to understand then the template, and is called "chileaddresses.xml." This file contains the solution for each address. If you look, after listing all the parts, every address has the properly assembled solution.
The template has a bunch of precursor stuff you don't need to worry about, so when reading that file, disregard all lines above line 118, and is called "template_startatline118.xml"
The template is basically a list of all the possible address components, and it tells you where to put them, and has other stuff going on too.