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

  How many records are returned using minus operator

Customers Dunne an Olowski are included in the CUSTOMER table also in CUSTOMER_2 table. Explain How many records are returned when using the MINUS operator?

  Create database management system for bike shop

Your job is to create a database management system for bike shop who ‘buys' and ‘sells' new and second-hand bikes, and also parts of bike. Bike is constructed with parts while part can be fitted to different bikes.

  Information-gathering techniques for the project

Explain the information-gathering techniques and design methods you would suggest to use for project. Recognize the key factors that help ensure the information required for the project.

  Description of the relationship represented by scatterplot

Produce a scatterplot of Rent vs. Size (square meters of the apartment) for the rental data in rent.

  Create a database design specification

Create a database design specification (Enhanced Entity Relationship Diagram (EERD) and Relational Data Model (RDM)) from the given business description. The RDM must be in 3rd Normal Form.

  How to use traditional database design method

Explain how you would follow three phases of traditional database design method (Hierarchical, Network, and Relational), considering the following scenario.

  What is recovering database via rollforward

What is Recovering a database via rollforward? What is aim of transaction log? What is contained in transaction log?

  Database to keep track of auto sales in car dealership

CAR (Serial-No, ModConsider the given relations for database which keeps track of auto sales in car dealership.

  How referential integrity constraint prevent data

In physical database design, referential integrity constraints can be defined. What actions does referential integrity constraint prevent from happening when data is inserted in table which contains this constraint?

  Various kinds of keys to form or define relationships

Relational database is based on fact that data in one table can be tied, or related to data in another table. To do this, database utilizes various types of keys to form or define these relationships.

  Explaining concept of organizational intelligence

Need a page and half on concept of organizational intelligence. It must specifically talk about organizational intellignece being outcome of organization's efforts to gather store, process and interpret data.

  Produce budget reports for department at university

Consider system which produces budget reports for department at university. For whichever system you select, answer the following design questions. Who will use output?

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