Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help. Code below //mdpbatxt.xml School of Celtic Bagpipes & Drumming Delafield Charlie's Welcome Mrs MacPherson of Inveran Brown Haired Maiden Rowd's Hornpipe Badger Pipes

Please help. Code below image text in transcribed

//mdpbatxt.xml

School of Celtic Bagpipes & Drumming Delafield Charlie's Welcome Mrs MacPherson of Inveran Brown Haired Maiden Rowd's Hornpipe Badger Pipes and Drums Madison Lord Alexander Kennedy Bob of Fettercairn Brown Haired Maiden Out of the Air Pardeeville School of Piping and Drumming Pardeeville Lord Alexander Kennedy Bob of Fettercairn The Little Cascade The Radar Racketeer Zoar Scottish Pipe Band Zoar Charlie's Welcome Mrs MacPherson of Inveran Major Manson Miss Lily Stockholm Pipe Band Stockholm Pretty Marion The Sheepwife Brown Haired Maiden Farewell to Erin

//mdpbatxt.xsd

1. Using your XML editor, open the mdpbatxt.xml and mdpbatxt.xsd files from the xmlo3 case2 folder, enter your name and today's date in the comment section ofeach file, and then save the files as mdpba.xml and mdpba.xsd, respectively. 2. Go to the mopba.xsd file in your text editor. Add the root schema element to the document and declare the XML Schema namespace using the xe prefix 3. Atach the schema file mdpba.xsd to the instance document, indicating that the sohema and instance document do not belong to any namespace. Tutorial 3 Valldating Documents with Schemas IXML 4. Create the following named simple types: a. gradeType, based on the etring data type and limited to the enumerated values novic juvenile, 2, 3, and 4 b. eType, based on the string data type and limited to the enumerated values MsR and Mediey elarype, based on the ID data type and restricted to the regular expression pattern cva(4) d. nroType, based on the string data type and restricted to the regular expression pattern a-ZA-20-91 -png 5. Declare the bands element containing the child element band.The band element must occur at least once, but its upper limit is unbounded. 6. Declare the and element containing the following sequence of nested dild elements name, city, logo, and compet1t1on. Set the following properties for the nested elements: a. All of the child elements should contain string data. The name element should also support the required grade attribute. b. The logo element is optional. The band element must contain the cla attribute, 7. Declare the aogo element, which has no content and contains the required attribute source. 8. Declare the competit1on element containing the dhild element event. The event element must occur at least once, but its upper limit is unbounded. 9. Declare the event element containing the dildelement tune. The tune element must occur at least once, but its upper limit is unbounded. The event element is required. 10. Declare the following attributes and elements: a. The attribute grade, which uses the gradeType data type b. The attribute type, which uses the eType data type The attri ute cla, which uses the clarype data type d. The attribute source, which uses the srcType data type The element city, which uses the string data type f. The element tune, which uses the string data type 11. Save your changes to the mdpba.xsd file, and then validate the schema. Continue to correct any validation errors you discover until the schema validates. 12. Validate the mdpba.xml file against the schema. Continue to correct any validation errors you discover until the instance document validates, XML 189

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

What benefits are we looking to gain by using external providers?

Answered: 1 week ago

Question

Describe key customer feedback collection tools.

Answered: 1 week ago

Question

Know what customers expect from the firm when they complain.

Answered: 1 week ago

Question

Understand why customers complain.

Answered: 1 week ago