0% found this document useful (1 vote)
310 views

JAVA EE Assignment 1

The document provides an XML schema assignment to define the structure of an XML document containing student records. It includes details that student IDs must be in the format "s999999999", status must be one of "Freshman", "Sophomore", "Junior", or "Senior", and at least one student record is required. It provides an example XML document to design the schema for with two student records and corresponding data fields.

Uploaded by

Manjinder Judge
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
310 views

JAVA EE Assignment 1

The document provides an XML schema assignment to define the structure of an XML document containing student records. It includes details that student IDs must be in the format "s999999999", status must be one of "Freshman", "Sophomore", "Junior", or "Senior", and at least one student record is required. It provides an example XML document to design the schema for with two student records and corresponding data fields.

Uploaded by

Manjinder Judge
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

CSD 4464_2

Assignment 1

Give the XML Schema corresponding to the following XML document. We assume that StudID
should always be in the format s999999999 and Status takes one of the values “Freshman”,
“Sophomore”, “Junior”, and “Senior”. We assume there is, at least one student. The name and
address are of type string.
<?xml version="1.0" ?>
<Students>
<Student>
<StudId>s111111111</StudId>
<Name>John Doe</Name>
<Address>123 Main St.</Address>
<Status>Freshman</Status>
</Student>
<Student>
<StudId>s222222222</StudId>
<Name>Mary Smith</Name>
<Address>145 Main St.</Address>
<Status>Junior </Status>
</Student>
</Students>

You might also like