This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
stats:schema:student [2011/11/03 12:28] Patrick Michel |
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] ] | + | element student * id { [ count (./id, //accounts/account/student/id) = 1 ] |
attribute group ? { ident [ exists ..exercise/groups/group[.] ]} | attribute group ? { ident [ exists ..exercise/groups/group[.] ]} | ||
attribute team ? { ident [ exists ../group ]} | attribute team ? { ident [ exists ../group ]} |