This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stats:schema:student [2011/10/24 15:58] Patrick Michel [Assignment of Teams] |
stats:schema:student [2012/04/11 15:57] Patrick Michel |
||
---|---|---|---|
Line 7: | Line 7: | ||
<code xcend> | <code xcend> | ||
element students { | element students { | ||
- | element student * id { [ exists //accounts/account/student[./id] ] # 1.6, 2.11 | + | element student * id { [ count (./id, //accounts/account/student/id) = 1 ] |
- | attribute group ? { ident [ exists ..exercise/groups/group[.] ]} # 1.7 | + | attribute group ? { ident [ exists ..exercise/groups/group[.] ]} |
attribute team ? { ident [ exists ../group ]} | attribute team ? { ident [ exists ../group ]} | ||
- | element result * sheet { [ exists ..exercise/sheets/sheet[./sheet] ] # 1.8, 2.12 | + | element result * sheet { [ exists ..exercise/sheets/sheet[./sheet] ] |
- | attribute points { double [ . >= 0 && . <= ..exercise/sheets/sheet[../sheet]/maxPoints ]} # 3.3 | + | attribute points { double [ . >= 0 && . <= ..exercise/sheets/sheet[../sheet]/maxPoints ]} |
} | } | ||
} | } |