Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 1: Write an XML document describing the exercises in this document: the root element is . The root has an attribute number that has

Exercise 1:

Write an XML document describing the exercises in this document: the root element is . The root has an attribute number that has value 1. The root element has three child elements; that contains as text the date of the exercise, and two elements for the first two exercises (1--2). Write some text in the elements.

Exercise 2:

Write an XML document describing a person: name, occupation, address, and hobbies. Please do not use your own information, you can use fake data. Decide on suitable element names and nesting. Check your document for well-formedness. Answer:

OskariHeinonen assistant

Univ. of Helsinki, Dept. of Computer Science P.O. Box 68Gustaf Hllstrmin katu 2b FI-00014University of Helsinki

eatingsleeping

Exercise 3:

Draw a tree that represents the XML document you created in task 2.

Exercise 4:

This is the books.xml file

The Autobiography of Benjamin Franklin

Benjamin Franklin

8.99

The Confidence Man

Herman Melville

11.99

The Gorgias

Plato

9.99

Using books.xml as a model, create a small XML file for a student's program of study form called programOfStudy.xml. It should capture the following data:

In the Fall 2008 semester, the student plans to take two classes to satisfy her General Education requirements, PHIL 101 to satisfy Goal 8 and ECON 201 to satisfy Goal 11. She also has to take one core course, MGT 217, and two major courses, CIS 120 and CIS 403.

In the Spring 2009 semester, she plans to take two additional core courses, MGT 261 and MKTG 325, as well as three major courses, CIS 220, CIS 407, and CIS 490

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

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions

Question

1. What is the difference between a closed and open head injury?

Answered: 1 week ago

Question

b. Will there be one assigned leader?

Answered: 1 week ago

Question

Do you currently have a team agreement?

Answered: 1 week ago