Question 1a i explain the role of a dtd in xmlii illustrate

Assignment Help Other Subject
Reference no: EM13349569

Question 1

(a) (i) Explain the role of a DTD in XML

(ii) Illustrate, with the aid of examples, the difference between an XML document being well formed and valid

(b) Identify three key differences between DTDs and XML Schemas

(c) Consider the following XML document that contains information on people, books and literature prizes-

<literature>

<person id="p1">Nadine Gordimer</person>

<person id="p2">J M Coetzee</person>

<book id="b1">

<title>The Conservationist</title>

<author ref="p1"/>

</book>

<book id="b2">

<title>Life and Times of Michael K</title>

<author ref="p2"/>

</book>

<book id="b3">

<title>Disgrace</title>

<author ref="p2"/>

</book>

<prize>

<name>The Nobel Prize in Literature</name>

<award>

<year>1991</year>

<author ref="p1"/>

</award>

</prize>

<prize>

<name>The Booker Prize</name>

<award><year>1974</year><work ref="b1"/></award>

<award><year>1983</year><work ref="b2"/></award>

<award><year>1999</year><work ref="b3"/></award>

</prize>

</literature>

The above representation captures facts such as the Nobel Prize in Literature was awarded to Nadine Gordimer in 1991 and the Booker Prize was awarded for the book with title "Disgrace" in 1999

(i) Write a DTD fragment which comprises element and attribute declarations for the elements person, award and author

(ii) Write an XSLT template rule which will produce an HTML table of awards of the Booker Prize. The table should have two columns: the first containing the year of the award, the second containing the title of the book that won the prize in that year

Question 2

(a) What do you understand by the term Data Island? Give appropriate syntax to define one

(b) Describe the three types of Compositors used within the W3C XML Schema language that handle the order of individual elements

(c) Distinguish between Internal Entity and External Entity as used with DTDs. Illustrate your answer with simple examples

(d) ElementType is one of the major node use to define an Element in XML Schema document. Describe the following five associated attributes name-

(i) Content

(ii) dt:type

(iii) name

(iv) order

(v) model.

QUESTION 3

(a) (i) Discuss three properties of the WebService attribute

(ii) Discuss three properties of the WebMethod attribute

(b) Explain how the following protocols are used to invoke an XML Web Service-

(i) HTTP-Get

(ii) HTTP-Post

(iii) SOAP

(c) Using a diagram, illustrate how SOAP serialization / deserialization works when implementing a Web Service

(d) Write a .NET Web Service to create a currency converter that converts US Dollar to the following currencies-

England: 0.686

Canada: 1.603

EURO: 1.118

The Parameter inputs are: Country and Amount

QUESTION 4

(a) What are WSDL documents used for?

(b) Describe fully the importance of each of the following elements used by the WSDL document while implementing HTML pattern matching-

(i) Types

(ii) Messages

(iii) PortTypes

(iv) Bindings

(v) Services

(c) Outline the main steps required to access a Web service with the WebService Behavior

(d) List two ways how to handle errors in a WebService Behavior. Use extract codes to illustrate your answer

Reference no: EM13349569

Questions Cloud

Question knox company starts operations january 1 because : question knox company starts operations january 1. because all work is done to customer specifications the company
Question 1to encourage understanding of possible approaches : question 1to encourage understanding of possible approaches to achieving vertical integration strategic fit flanked by
Question batch processing arises when similar transactions : question batch processing arises when similar transactions are accumulated over time and processed mutually. real time
Question 1 a how does sociology as a discipline : question 1 a how does sociology as a discipline contribute to study of media? validate your answer b what is
Question 1a i explain the role of a dtd in xmlii illustrate : question 1a i explain the role of a dtd in xmlii illustrate with the aid of examples the difference between an xml
Question 1 on 31st december 2011 munson company finished : question 1 on 31st december 2011 munson company finished its first year of operations. it has a number of differences
Question 1 a what do you know by mass media b what : question 1 a what do you know by mass media? b what has been the function and influence of mass media on society
Question the following is a note accompanying a current : question the following is a note accompanying a current financial statement of international paper companyplant
Question evaluate product cost and purpose an income : question evaluate product cost and purpose an income statement under absorption and variable costing.polk company

Reviews

Write a Review

Other Subject Questions & Answers

  The carbohydrate molecule

The carbohydrate molecule 3-keto-d-glucose can exist in several cyclic forms. Draw the fischer projection of 3-keto-d-glucose, and then draw haworth projections of the possible cyclic forms, including the different possible anomers.

  General systems theory and other historical influences

Describe how general systems theory and other historical influences and figures have impacted the development of family therapy.

  A beam of circular cross-section of diameter

A beam of circular cross-section of diameter d is subjected to a direct compressive axial ioad and an eccentric compressive load of ecentricity e,in order that the tensile stress induced is zero,find the limiting region for application of the load sh..

  Find the pressure gradient force

An air parcel with mass = 150 kg is traveling at 15 m s-1 due east at 38ºN at an altitude of 5500 m. The parcel also has a downward velocity of 2 m s-1. Assume that the parcel is at the 500 mb level within a horizontal pressure field that increases t..

  Foreign affairs between 1789 and 1815

How did foreign affairs, between 1789 and 1815, spur the creation and eventually the solidification of two distinctive factions in American politics? Despite President Washington’s warning in his Farewell Address, why did Americans find it necessary ..

  Discuss the process of bottom-up estimating

Discuss the process of “bottom-up” estimating. Why is does it yield the most accurate time and cost estimates

  Financing statement regarding a transaction

Ace Financial, Inc., files a financing statement regarding a transaction with American Manufacturing Company.  To be valid, the financing statement must contain all of the following except

  Is earl entitled to be repaid for his loan to digital

Digital Services, Inc., needs funds to meet its payroll, to make other current operating expenses, and to pay its creditors.  Earl, Digital’s only shareholder, loans the company $10,000 and accepts a promissory note signed on behalf of Digital by Fra..

  Medicinal products in the geriatric population.

Guidelines on the role of pharmacokinetics in the devolepment of medicinal products in the geriatric population

  Who utilizes-international classification of diseases

The World Health Organization (WHO) utilizes the WHO Family of International Classifications in an effort to have a universal method for classifying diseases.

  Discuss the life span perspective of human develoopment

Summarize three theories related to human growth and development and identify at least one influential theorist for each identify aspects of the life span perspective. Explain how heredity and the enviornment influence human development

  Benefits of exercise on the brain

Write a 2-3 page paper explaining the benefits of exercise on the brain and what happens to a brain in distress. Emphasize the sensory motor and chemical functions of the brain and how it impacts learning.

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