 |
 |
 |
 |
 |
 |
 |
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
XML for Beginners - 2. Structuring Data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Section Problems The following problems give you an opportunity to create your own XML document. Try as many as you can. Make sure that you final XML document is well-formed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Create a well-formed XML document for an invoice. The invoice should contain the invoice number, date, customer name, and amount.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2. Create a well-formed XML document for an order form. The form should contain the order number, date, items, and amount.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3. Create a well-formed XML document for an student enrollment form. The form should contain a student ID, Last Name, First Name, and Email address.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4. Create a well-formed XML document for an a basketball game ticket. The document should contain the ticket number, date of game, time of game, price paid, section number, and seat number
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5. Create a well-formed XML document for a course. The document should include the course number, course name, semester, credits, class meeting days, class meeting times, instructor, building location, and room number.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6. Create a well-formed XML document for a business contact. The document should contain the Email address, type of business, contact's name, name of business, and notes.
|
|
|
|
|
|
|
|
|
|
 |
|
|
|
|
 |