Problem to be solved
Please create a variable data evaluation, which should be supplied with a data and an instruction file and should generate an output file. All files are in XML format. The structure of the files is not specified by a schema and is only documented by means of the example files.
The input data is kept in a simple format: Each file contains a top-level element called "data", including entries called "city", which may contain a variable number of attributes and child nodes. In our example, every "city" element has two attributes and a child node. An attribute is always present, this is called "name" and is used for filtering.
The instructions are similarly structured, a top-level element called "operations", including individual "operation" elements. The operation elements contain five attributes:
name - The name to use for the output.
attrib - Name of the attribute or child node to be evaluated.
type - Whether the selected attribute is a child node or an attribute.
func - The function to be evaluated, this can be "min", "max", "sum" or "average".
filter - A regular expression to apply to the "name" element of the "city". Only those "city" s that match the regular expression should be included in the evaluation.
The output also consists of a top-level element "results" and below individual "result" entries. Each "result" has a "name" attribute, taken from the name of the corresponding "operation". The text content of each "result" element is the result of the calculation.
Attached you will find three files that make such an evaluation.
To program an implementation on the Java VM; all standard libraries of the language you are using may be used, but no others. The file names may be permanently installed in the program, a read-out is not required. Floating-point numbers should be output with exactly two decimal places.
The following files are supplied to solve the problem:
[login to view URL] Sample input data
[login to view URL] Example of operations to be calculated.
[login to view URL] The results for the supplied sample data.
19 freelancere byder i gennemsnit €24 på dette job
Hello? Nice to meet you. I am excited to work with you on this project. I am ready to start work immediately. I have good skills in those. So I think I can help you if you want. Thank you. Best Regards.
Hi there, the XML files are not available on the project page. If you can, please upload them to the project page or simply drop them in the chat window when contacting me to have a look. Cheers!
Greetings Sir, I am Muhammad Faisal and we are professional Java Developer having almost 5 years of experience and we provide you quality work within your budget and time duration so,lets get started
Past experience on working with XML files Code: Reusable,dynamic Approximately 10 days for satisfactory work so that you dont face any problem Project will be as per your expectations and requiremnt