Question: Use an editor (jEdit for xml) to create the XML, DTD and JSON In this exercise we shall explore a simplified use case scenario for

 Use an editor (jEdit for xml) to create the XML, DTD

Use an editor (jEdit for xml) to create the XML, DTD and JSON

In this exercise we shall explore a simplified use case scenario for XML: storing medical information. We are interested in storing basic information about hospitals, doctors, patients and their illness. Each hospital houses several patients. Patients may be registered with multiple hospitals (possibly for different illnesses). Each doctor is employed by a hospital, and may attend to multiple patients in the hospital. We want to store some basic information about each of the entities involved. For instance, a hospital may be characterized by an id, name, and location, a patient may have an id, date of birth, information about illnesses, hospitals attending, with joining dates, etc (a) Write a simple DTD (Healthcare.dtd) for this application. (b) Create a sample XML (Healthcare.xml) document respecting your DTD, and containing information about a few hospitals, patients, and doctors. (c) Write a program parse the XML and validate it against the DTD to display the information using any of your favorite programming language In this exercise we shall explore a simplified use case scenario for XML: storing medical information. We are interested in storing basic information about hospitals, doctors, patients and their illness. Each hospital houses several patients. Patients may be registered with multiple hospitals (possibly for different illnesses). Each doctor is employed by a hospital, and may attend to multiple patients in the hospital. We want to store some basic information about each of the entities involved. For instance, a hospital may be characterized by an id, name, and location, a patient may have an id, date of birth, information about illnesses, hospitals attending, with joining dates, etc (a) Write a simple DTD (Healthcare.dtd) for this application. (b) Create a sample XML (Healthcare.xml) document respecting your DTD, and containing information about a few hospitals, patients, and doctors. (c) Write a program parse the XML and validate it against the DTD to display the information using any of your favorite programming language

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!