August 2000
Beginner
456 pages
9h 24m
English
| Q1: | Which form should you use to prototype your XML data, a DTD or a schema? |
| A1: | Like most questions of this type, the answer is relative. When you're programming, your goal is to create correct, understandable code. If you're better at writing DTDs than you are at writing schemas, your chances of writing correct code are better if you use a DTD. However, schemas are easy to learn and you should migrate to that mode as soon as possible. |
| Q2: | Should a value always be assigned to the content option of a node? |
| A2: | Absolutely! Relying on defaults in programming is always a questionable practice. The more precision and description that you can impose on your data, the less likely an error is. |
| Q3: | Given any DTD, is it possible to write a schema that ... |
Read now
Unlock full access