1. a. Develop an XML file describing a list of 4 restaurants with the following information. Two of them belong to a cuisine category "Eastern cuisine", one to "Mediterranean cuisine" and one to "South American cuisine". All of them hold information about their names, addresses (country, city, street, number). The values are of your choice. Three of the restaurants expose (describe) their “quality star” ranking while the fourth does not. Finally all restaurants present their date of establishment.
b. Given the XML file you are going to produce in 1(a), develop the corresponding XML Schema, following all possible steps as presented in the lectures. Finally refine it by grouping together elements (simple, complex), attributes etc. Two XSD files are expected and the well-formedness of your XML file developed in 1(a) is going to be checked against them! (One raw and one refined, please name them accordingly so we can evaluate them).
2. Given the XML file you are going to produce in 1(a) develop a XSLT file transforming this XML file to HTML, showing results in a table format, with presentation details (color, padding, borders etc) of your choice (CSS styling would be nice but not obligatory). The table fields are restaurant name, cuisine category, address and establishment date.
Beware of your browsers’ default security issues, when “executing” the XSLT transformation. It is preferred to use Mozilla Firefox, unless you want to unlock Chrome’s security (via command line).