equal
deleted
inserted
replaced
31 # TOP LEVEL |
31 # TOP LEVEL |
32 # ============================================================================= |
32 # ============================================================================= |
33 |
33 |
34 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quiz ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
34 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quiz ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
35 |
35 |
36 top.quiz = element quiz { top.quiz.attributes, quiz.content } |
36 top.quiz = element quiz { top.quiz.attributes, top.quiz.content } |
37 |
37 |
38 top.quiz.attributes = |
38 top.quiz.attributes = |
39 quiz.id.attribute |
39 quiz.id.attribute |
40 & lang.attribute? |
40 & lang.attribute? |
41 quiz.id.attribute = attribute id { xsd:NMTOKEN } |
41 quiz.id.attribute = attribute id { xsd:NMTOKEN } |
42 |
42 |
|
43 top.quiz.content = |
|
44 top.head?, |
|
45 instructions, |
|
46 (engine | composite), |
|
47 help?, |
|
48 answer? |
43 |
49 |
44 # ============================================================================= |
50 # ============================================================================= |
45 # COMPONENT LEVEL |
51 # COMPONENT LEVEL |
46 # ============================================================================= |
52 # ============================================================================= |
47 |
53 |