Advanced DTD exercise
Challenge exercise
Cookbook exercise
Based on the previous exercise you should create an online cookbook now. Starting from the recipe model, what elements and attributes do you need to create a model of a cookbook?
- In your XML editor create a new XML document: cookbook.xml
- Copy and paste the DTD and XML from your recipe.xml
- Copy and paste the content for two other recipes into your new cookbook.xml
- Extend your DTD model to include additional elements that you think are required for a cookbook
- Add these additional elements to your cookbook XML and validate your XML document