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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

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

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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