Question: Folder: hw 0 2 Overview: Write a program to process an xml file of purchasing information. The structure of the xml file is shown below:
Folder: hw
Overview: Write a program to process an xml file of purchasing information. The structure of the xml file is shown below:
purchaselist
The data file can be found here darr.
Your program should loop though this file of items, and for every item that has "quantity" greater than add it to a table, and running totals for # of items ordered, and total spent. The output should resemble:
tableItemPrice,Quantity,Line PriceCircuit Board Business Card Case,Mega Man Air Freshener,Origami Sticky Notes,Shocking Pen,Red Swinglife Stapler,bit Flower Bouquet, Utility Towel,Monty Python Killer Rabbit Slippers,Totals:
Hint: You can use "colspan" for tags for the last row in the table.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
