• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!ELEMENT collection (description,recipe+)>
2<!ELEMENT description ANY>
3<!ELEMENT recipe (title,ingredient*,preparation,comment?,nutrition)>
4<!ELEMENT title (#PCDATA)>
5<!ELEMENT ingredient (ingredient*,preparation)?>
6<!ATTLIST ingredient name CDATA #REQUIRED
7                     amount CDATA #IMPLIED
8                     unit CDATA #IMPLIED>
9<!ELEMENT preparation (step*)>
10<!ELEMENT step (#PCDATA)>
11<!ELEMENT comment (#PCDATA)>
12<!ELEMENT nutrition EMPTY>
13<!ATTLIST nutrition protein CDATA #REQUIRED
14                    carbohydrates CDATA #REQUIRED
15                    fat CDATA #REQUIRED
16                    calories CDATA #REQUIRED
17                    alcohol CDATA #IMPLIED>
18