Create a corresponding xmlschema file

Assignment Help Database Management System
Reference no: EM13189374

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.

Reference no: EM13189374

Questions Cloud

How many cartons were left over : Juan's first-grade class received 82 half-pint cartons of milk to distribute evenly to his 22 students. How many cartons were left over?
What are the dimensions of the corral of maximum area : a rancher wishes to enclose a rectangular corral with 320 feet of fencing. the fencing only required 3 sides because of an existing wall. what are the dimensions of the corral of maximum area?
Compute a consumer price index for apples for each year : Abby consumes only apples. In year 1, red apples cost 1$ each, green apples 2$ each, and Abby buys ten red apples. In year 2, red apples cost $2, green apples cost $1, and Abby buys 10 green apples.
What was the amount of each loan : Cole's student loans totaled $31,000. One of his loans was at 2.8% simple interest and the other at 4.5%. After one year, Cole owed $1024.40 in interest. What was the amount of each loan.
Create a corresponding xmlschema file : 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
What is the volume in cubic centimeters of a tablet : what is the volume in cubic centimeters of a tablet weighing 330mg that has density of 1.40cm ?
Where the is curve and the lm curve are of normal shapes : During the recent recession, when countries around the world suffered high unemployment rates and the governments were experiencing huge budget deficits, economists debated whether to raise or cut taxes or to raise or cut government spending.
Find the steady-state temperature at the center of the plate : The rod satisfies the heat equation Ut = Uxx + f(x) and its ends are kept at zero temperature. Find the steady-state temperature.
Did the labor productivity ratio increase or decrease : The ABC Company has a large order for special uniforms to be used in an urgent operation. Working the normal two shifts of 40 hours each per week, the ABC production process usually produces 2, 500 uniforms per week at a standard cost of $120 each..

Reviews

Write a Review

Database Management System Questions & Answers

  Writing down sql query

Write down the SQL code in order to carrying out the following requests. Display all the data in each of the four tables. Do not display the foreign key columns.

  Provide an entity relationship model

Provide an Entity Relationship Model (ERM) that will describe the data structure that will store all data elements and analyze the university's requirements and provide a proposal to organize all the required data elements.

  Difference between obsolescent and redundant stocks

Difference between obsolescent and redundant stocks

  Prepare a database design specification

Understand and interpret a set of business rules for a database and create an Enhanced Entity Relationship Diagram that models the requirements accurately

  Relational algebra operations

List the sequence of relational algebra operations needed to implement the queries.

  Essay on data mining in warehouse architectures

Course: data mining. Require a 7 page essay on subjects: Warehouse Architectures: the paper requires to contain information about centralized, federated, and tiered data warehouse.

  Prepare a report related to business communications

Prepare a report - The report should be related to Business communications.

  Relations of airline flight information

The relations given below keep track of airline flight information:Flights(flno: integer, from: string, to: string, distance:integer, departs: time, arrives: time, price: real)Aircraft(aid: integer, aflame: string, cruisingrange: integer)

  United broke artists (uba) is a broker

United Broke Artists (UBA) is a broker for not-so-famous artists. UBA maintains a small database to track painters, paintings, and galleries. A painting is created by a particular artist and then exhibited in a particular gallery

  Binary 1-n relationship-optional-to-optional relationship

Give examples of binary 1:N relationships, for (a) an optional-to-optional relationship, (b) an optional-to-mandatory relationship,

  Write a program to keep track of a cd or dvd collection.

write a program to keep track of a CD or DVD collection. This can only work exclusively with either CDs or DVDs since some of the data is different. The data will be stored ina file. The data from the file will be stored ina text file as records. Eac..

  Developing a database

You have been asked to develop a database utilizing only the written problem description given by the client. In reviewing the description.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd