Use XML Editor to create XML document that contains the following information. We would like to store information about the vehicles and their owners. An owner is described by first name, last name, phone number, and address that consists of suburb name, street name, building number, and optional flat number. An owner owns one or more vehicles and each vehicle has only one owner. We need to store a date when an owner has purchased a vehicle. We consider two types of vehicles: cars and trucks. A car is described by a manufacturer name, model, year of manufacturing, and registration number. A truck has the same description as a car and additionally it is described by a capacity. XML document should contain information about at least two owners, and at least two cars and one truck. The details are up to you.
Use XML Editor to create XML document that contains the following information.
We would like to store information about the vehicles and their owners. An owner is described by first name, last name, phone number, and address that consists of suburb name, street name, building number, and optional flat number. An owner owns one or more vehicles and each vehicle has only one owner. We need to store a date when an owner has purchased a vehicle. We consider two types of vehicles: cars and trucks. A car is described by a manufacturer name, model, year of manufacturing, and registration number. A truck has the same description as a car and additionally it is described by a capacity.
XML document should contain information about at least two owners, and at least two cars and one truck. The details are up to you.
Step by step
Solved in 2 steps