Define an element with a name of measurement

Assignment Help Computer Engineering
Reference no: EM131304486

Name the document measurements1.xsd.

A XML declaration should be the first line.

This should list version 1.0 and an encoding of UTF-8

The XML Schema Namespace should use "https://www.w3.org/2001/XMLSchema" in its declaration.

Use the namespace xsd qualifier.

PAGE 197

Define a simple type, of type restriction, named "measurementType". This type should have a base of "xsd:string". Define two xsd:enumerations with values of "distanceType" and "weightType".

Define a simple type, of type "xsd:restriction", named "disType". This type should have a base of "xsd:string". Define two enumerations with values of "imperial" and "metric".

Define a simple type, of type "xsd:restriction", named "weiType". This type should have a base of "xsd:string". Define two enumerations with values of "troy" and "gram".

PAGE 165

Define an element with a name of "measurement".

Within "measurement", define a complex type.

Within this complex type, define a choice with minOccurs and maxOccurs both equal to "1".

Within this choice, define two elements.

The first choice is "distance" with an attribute of measureDistance with a type of disType

The second choice is "weight" with an attribute of measureWeight with a type of weiType

Define an attribute for this element. Name it "typeOfMeasurement" with a type of "measurementType"

Reference no: EM131304486

Questions Cloud

Calculate the price per share for coca-cola’s stock : Suppose that Coca-Cola is currently paying a dividend of $1.75 per share, the dividend is expected to grow at a rate of 5% per year, and the rate of return investors require to buy CocaCola's stock is 8%.
Why would a higher premium result in lower stock prices : During May 2010, the Dow Jones Industrial Average declined by nearly 8%, its worst performance during May since 1940. Brian Bethune, a financial economist at HIS Global Insight, was quoted as saying: "Investors are demanding a higher premium for t..
Determine whether or not government regulation to fairness : Determine whether or not government regulation to ensure fairness in the low-calorie, frozen microwavable food industry is needed. Cite the major reasons for government involvement in a market economy.
What is the efficient markets hypothesis : Suppose that you buy an Apple iPad, you like it, and you think it will be a big seller. You expect that Apple's profits will increase tremendously as a result of booming iPad sales. Should you invest in Apple?
Define an element with a name of measurement : Define an element with a name of "measurement". Define a simple type, of type restriction, named "measurementType". This type should have a base of "xsd:string". Define two xsd:enumerations with values of "distanceType" and "weightType".
Describe one action you would take to protect your business : Identify and describe each of the four (4) types of shoplifters. Describe one (1) action you would take to protect your retail business from each type of shoplifter.
Relationship between a firm''s profits and stock price : If the increase in Overstock's profits had not been a surprise, would the effect of the announcement on its stock price have been different? Briefly explain.
Describe diversion and probation and what they involve : Describe diversion and probation and what they involve; include how they are alike, and how they differ. Examine and briefly describe the original concept and evolution of each within the United States. Explain how diversion and probation have been u..
How are equity compensation plans affected : How are equity compensation plans affected when used as incentive compensation with employees from different countries in the MNEs?

Reviews

Write a Review

Computer Engineering Questions & Answers

  What is meant by the last-in first-out property

What is meant by the last-in, first-out (LIFO) property? What is the difference between the stack pop and getTop operations? In a program that uses a stack to check for balanced braces in an string, what condition indicates that the braces are bala..

  How to provide the name of the web site

For this project you will need to make a Microsoft Word document which includes a table and hyperlinks to Web sites helpful to someone studying in your major Paralegal.

  Questionexecute a class person with two fields name and age

questionexecute a class person with two fields name and age and a class car with three fields-1. the model2. a pointer

  Recognize potential ethical issues that might arise as a

you have been hired as the cio of a large multinational internet advertising company. the president of the company is

  Determine the effect of this capacitor bank on line loadings

Determine the effect of this capacitor bank on line loadings and the total real power losses (shown immediately below bus 2 on the one-line).

  Questionthink following relational schema for a

questionthink following relational schema for a

  List specific hospital departments and explain their roles

List the specific hospital departments and roles you would include. Explain why each of these staff members was chosen and relevant for providing information for this project.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Elements of physical security

Develop a physical security plan for manufacturing company. Your paper must include an explanation of the physical security and the different elements of the physical security.

  Describe the emerging trends of near field communication

describe the emerging trends of near field communication bluetooth wifi smartphones and rfid as they relate to the

  Create the necessary ruleset to use within snort to fire

Create the necessary ruleset to use within Snort to fire an alert whenever an attempt is made to connect to, access, browse, or otherwise visit the site you have chosen.

  Writing down the script

Write down a script known as whichdaemon.sh that checks if the httpd and init daemons are running over your system. If an httpd is running.

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