introductionthis is an individual assignment in


Introduction

This is an individual assignment in which you can explore the use of extensible files in web programming, using PHP and XML.

Details of the weight of the assignment and due date are given in the course description.

Task Description

Introduction

A simple database with a single table contains data concerning car registration. The table contains four fields that store data relating to registration number (unique), make of car, year of manufacture and car colour. There are constraints placed on the data that are described below.

The assignment tasks are closely associated with the lab work of topics 8 to 10. Code which is provided in the topic 10 lab work should be a useful guide throughout this assignment. The assignment requires a number of files and a report to be produced. The report should respond to written tasks that are included below.

Initial task

Document the data that you have chosen by adding a table to your report. The table should have about 6 records with no NULLs. Document also the names of the table and the fields.

Tasks supported by Topics 7 and 8

Mark up the table of data using XML tags and save it as an .xml file. Check that the file is well-formed and report the method used. Make a deliberate error and report the error message.

Create a corresponding XMLSchema file (.xsd) that contains the following constraints:

• the car registration number consists of 3 uppercase alphabetic letters, followed by a hyphen and 3 digits;

• the year of manufacture is between 1995 and 2013 inclusive

• for the purposes of this exercise, the colour is restricted to red, white, black and silver

Use the .xsd file to validate your .xml file. Test the validation of the .xml file by breaking each constraint in turn and report the results. Also deliberately invalidate the .xml file and report the response.

Task supported by Topic 9

Create an XSLT stylesheet file (.xsl) that supports the display of the data. The data is to be displayed in alphabetic order of car make.

Task supported by Topic 10

Create new DOM documents for each of your .xml file and .xsl file. Use these to generate output to the
browser. Comment on the result.

Request for Solution File

Ask an Expert for Answer!!
Database Management System: introductionthis is an individual assignment in
Reference No:- TGS0501439

Expected delivery within 24 Hours