XML file

I have a two part, The XML file, named purchases.xml needs to include the following items:Item nameItem priceIt is up to you to determine the format of the XML file, you are welcome to follow the below suggested format if you want:I just need the code for the xml file and the second one, You need to implement the error handling code to deal with any two of the following three scenarios:Input XML file unavailable Cookie variable does not exist or cannot be created (user disabled cookies)Invalid values inside cookie variableAm willing to up the price if I have to.

This is a sample question

Need help with a similar assignment?

Place an order at Study Pirate

Attach all custom instructions.

Make Payment. (The total price is based on number of pages, academic level and deadline)

We’ll assign the paper to one of writers and send it back once complete.