Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help. Code below //rostertxt.xml David Brennan 5133 Oak Street Windermere, FL 34786 (407) 555-8981 (407) 555-8189 dbrennan@delisp.net $50,000 Phone 1982-09-01 Cindy Wu 31 Alice

Please help. Code below

image text in transcribed

//rostertxt.xml

David Brennan

5133 Oak Street Windermere, FL 34786
(407) 555-8981 (407) 555-8189 dbrennan@delisp.net $50,000 Phone 1982-09-01

Cindy Wu

31 Alice Avenue Windermere, FL 34786
(407) 555-7212 cwu@ispnet.net $50,000 Phone 1982-09-01

David Olson

5133 Oak Street Windermere, FL 34786
(407) 555-8981 (407) 555-8189 dolson@davolsonlisp.net $25,000 Personal 1985-07-31

Wilmer Stonehedge

31 Alice Avenue Windermere, FL 34786
(407) 555-7212 wstone@ispnet.net $25,000 Personal 1994-10-03

Lee Unwin

451 Unwin Ct. Orlando, FL 32801
(534) 555-9082 leeunwin@clarion.net $18,000 Personal 1998-11-01

Jane Whitney

87 Hilltop Drive Windermere, FL 34786
(534) 555-7493 $15,000 Personal 1998-11-01

Andrew Sanchez

891 Lindon Lane Windermere, FL 34786
(407) 555-4313 asanchez@yulit.com $15,000 Personal 2000-03-04

Gary Windt

55 Hawking Street Windermere, FL 34786
(407) 555-9939 windtg@brockton.com $1000 Phone 2000-03-04

Cynthia Browne

71 Circuit Ct. Orlando, FL 32801
(407) 555-3813 cynthia@brownes.com $1000 Phone 2000-03-04

Howard Li

4312 East Oak Avenue Orlando, FL 32801
(407) 555-3921 $1000 Mail 2011-03-04

Uma Thu

25 Longton Lane Windermere, FL 34786
(407) 555-8730 $1000 Personal 2012-04-04

Alan Wilkes

321 Ashburn Orlando, FL 32801
(407) 555-1181 wilkes_alan@wuilt.edu $500 Mail 2012-01-04

Steve Bones

900 Lawton Street Orlando, FL 32801
(407) 555-5434 $500 Personal 2012-09-14

Jeri White

Hawkes Lane Windermere, FL 89211
(542) 555-8828 jeri_white@kyu.edu $300 Phone 2012-12-14

Tom Thomas

Rigel Avenue Apopka, FL 32703
(531) 555-8311 $100 Phone 2012-02-14

rostertxt.xsd

1. Using your text editor open the rostertxt.xml and rostertxt.xsd files from the xmlo3 case3 folder, enter your name and today's date in the comment section of each file, and then save the files as roster.xml and roster. xsd, respectively. Go to the roster.xsd file in your text editor. Add the root schema element to the document and declare the XML Schema namespace using the xs pre 3. Attach the schema file roster.xsd to the instance document, indicating that the schema and instance document do not belong to any namespace 4. Create the following named simple types a. prype, based on the string data type and limited to the enumerated values home, cell and work b. methodType, based on the string data type and limited to the enumerated values Phone, Personal, and Mail levelType, based on the string data type and limited to the enumerated values founder, sponsor, patron, and friendship d. pboneType, based on the string data type consisting of 14 characters the first character hould be a left opening parenthesis, followedby three digits from0to9, followedby a right araders in creating regular expressions. To indude one of these dharacters in your expression, enter a backslash belore it) 5. Declare the roater element containing the child element listed in the vocabulary structure. The s unbounded. Declare theaonor element containing the sequence of nested child elements shown in the vocabulary structure. Set properties for the minimum andor maximum occurrences of the donor, phone, and email elements as illustrated in the vocabulary structure. Specify that the donor element must contain the required level attribute. b. Declare the phone element, containing the required attribute type Tutorial 3 Valldating Documents with Schemas IXML 6. Declare the following attributes and elements: a. The attribute type, which uses the prype data type b. The attribute level, which uses the levelType data type The element name, which uses the string data type d. The element address, which uses thestring data type The element ema11, which uses the string data type i. The element donat1on, which uses the dec1nal data type g. The element effectiveDate, whichuses the aate data type h. The element method, which uses the methodType data type 7. Save your changes to the roster.xsd file, and then validate the schema. Continue to comect any 1. Using your text editor open the rostertxt.xml and rostertxt.xsd files from the xmlo3 case3 folder, enter your name and today's date in the comment section of each file, and then save the files as roster.xml and roster. xsd, respectively. Go to the roster.xsd file in your text editor. Add the root schema element to the document and declare the XML Schema namespace using the xs pre 3. Attach the schema file roster.xsd to the instance document, indicating that the schema and instance document do not belong to any namespace 4. Create the following named simple types a. prype, based on the string data type and limited to the enumerated values home, cell and work b. methodType, based on the string data type and limited to the enumerated values Phone, Personal, and Mail levelType, based on the string data type and limited to the enumerated values founder, sponsor, patron, and friendship d. pboneType, based on the string data type consisting of 14 characters the first character hould be a left opening parenthesis, followedby three digits from0to9, followedby a right araders in creating regular expressions. To indude one of these dharacters in your expression, enter a backslash belore it) 5. Declare the roater element containing the child element listed in the vocabulary structure. The s unbounded. Declare theaonor element containing the sequence of nested child elements shown in the vocabulary structure. Set properties for the minimum andor maximum occurrences of the donor, phone, and email elements as illustrated in the vocabulary structure. Specify that the donor element must contain the required level attribute. b. Declare the phone element, containing the required attribute type Tutorial 3 Valldating Documents with Schemas IXML 6. Declare the following attributes and elements: a. The attribute type, which uses the prype data type b. The attribute level, which uses the levelType data type The element name, which uses the string data type d. The element address, which uses thestring data type The element ema11, which uses the string data type i. The element donat1on, which uses the dec1nal data type g. The element effectiveDate, whichuses the aate data type h. The element method, which uses the methodType data type 7. Save your changes to the roster.xsd file, and then validate the schema. Continue to comect any

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

Students also viewed these Databases questions