Quiz
1. |
What is the purpose of a schema? |
2. |
If you wanted to create a schema for a markup language with specific data types, such as integer numbers and dates, which schema technology would you need to use? |
3. |
What is the difference between valid and well-formed documents? |
Quiz Answers
1. |
A schema describes the exact elements and attributes that are available within a given markup language, along with which attributes are associated with which elements and the relationships between the elements. |
2. |
XML Schema is the schema technology of choice for schemas that require specific data types such as integer numbers and dates. |
3. |
Well-formed documents must adhere to the general XML rules, whereas valid documents must also adhere to a schema. |
Exercises
1. |
Modify the ETML DTD so that it includes a new attribute of the |
2. |
Modify the |