As an XML expert you are needed to model a system for an online furniture shop. After an interview with the shop manager you have the certain information:
- The detail of the furniture shop contains shop name, address, telephone number, website address (URL), and logo (image).
- The furniture shop has the following types of objects for sale: beds, sofas, tables, wardrobes, etc. Every item has its name, item number, description, and price.
1) A bed can be single, double or king size bed. A bed also has information about type (like bed frames, divan bed, adjustable bed, four poster bed) materials (such as wood), manufactory, product country, optionally with mattresses, etc.
2) A sofa can be a one seat, 2 seats or 3 seats sofa, with information of manufactory, product country, size, colour and face material (such as Leather).
3) The table have type (like dining table, coffee table, nest table), materials (like Acre Oak, glass), size, manufactory, and product country. Dining table can optionally have dining chairs, etc.
4) A wardrobe can be 2 doors or 3 doors. It also has information about the size, colour, manufactory, product country, optionally with door mirrored
Task. Using the structure of catalog _{studentID}.xml as a model, make a DTD file named catalog _{studentID}.dtd. Apply catalog _{studentID}.dtd to the contents of catalog _{studentID}.xml. Validate the XML document against your DTD using an online validator or AltovaXML2008.
Task . Make a CSS file catalog _{studentID}.css to render your XML data file to a web browser.
- Make a list
- Make at least one border
- Use at least two dissimilar font sizes and two dissimilar font families.
- Use two dissimilar font colours, at least one of which is defined using RGB values.
- Show logo image.
- Use at least one floating box
Task.Write a short report up to 1000 words (save as report1 _{studentID}.doc, a word document) to explain how you designed and executed the coursework part 1. The report should contain the data structure. Tlak about the limitations of DTD and CSS.